This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GNU Coding Standards -- updated


Hartmut Schirmer <hartmut.schirmer@arcormail.de> writes:

|> On Thu, 16 Aug 2001, Fergus Henderson wrote:
|> >	#if MMAP_THRESHOLD
|> [...]
|> >	#endif
|> 
|> one should never use #if this way. You can´t catch simple
|> errors like
|> 
|> #if MAP_THRESHOLD
|> #if MNAP_THRESHOLD

Use -Wundef.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]