bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] Re: include-once-only macros


From: Simon Josefsson
Subject: [Bug-gnulib] Re: include-once-only macros
Date: Tue, 28 Sep 2004 17:06:58 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Bruno Haible <address@hidden> writes:

> The practice is that one should avoid identifiers starting with '__',
> since they are very likely to lead to collisions. Symbols that start
> with '_' - in my experience - give less collisions than those without.

Perhaps it is simplest to leave code as is, then.

If consistency is a goal, some alternative ideas are:

#ifdef HEADER_*_H
#ifdef FILE_*_H
#ifdef INCLUDE_*_H
#ifdef GNULIB_*_H

I don't really like any of them, though.

Thanks,
Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]