This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GNU Coding Standards -- updated
- To: hartmut dot schirmer at arcormail dot de
- Subject: Re: GNU Coding Standards -- updated
- From: Andreas Schwab <schwab at suse dot de>
- Date: 16 Aug 2001 21:34:18 +0200
- Cc: Fergus Henderson <fjh at cs dot mu dot oz dot au>,carlo at alinoe dot com (Carlo Wood),pfeifer at dbai dot tuwien dot ac dot at (Gerald Pfeifer), gcc at gcc dot gnu dot org,mark at codesourcery dot com (Mark Mitchell)
- References: <20010816152715.A10450@hg.cs.mu.oz.au><01081620134300.00452@hallo>
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