cvs commit: src/usr.bin/xlint/xlint xlint.c

Peter Wemm peter at FreeBSD.org
Sat Oct 25 20:34:14 PDT 2003


peter       2003/10/25 20:34:13 PDT

  FreeBSD src repository

  Modified files:
    usr.bin/xlint/xlint  xlint.c 
  Log:
  Move the -Wtraditional warning from the global cpp flags to when the -p
  (portability warnings) switch is used.  Add -Wno-system-headers after it so
  that we dont get 500 screenfulls of warnings about #elif in /usr/include.
  I'm not entirely happy with this.  Maybe cdefs.h shouldn't use #elif and
  instead nest #else clauses?
  
  Revision  Changes    Path
  1.26      +1 -2      src/usr.bin/xlint/xlint/xlint.c


More information about the cvs-src mailing list