GNU Coding Standards -- updated

Andreas Schwab schwab@suse.de
Thu Aug 16 12:34:00 GMT 2001


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



More information about the Gcc mailing list