Add warnings for #directives with indented #
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Sun Apr 2 07:44:00 GMT 2000
One more thing, bootstrapping gcc gives some of these warnings which
I think should be avoided.
> include/syslimits.h:7:13: warning: the # in #include_next should not
> be at the left margin
> include/limits.h:117:13: warning: the # in #include_next should not be
> at the left margin
(There are a lot of these in stage2.)
Why isn't gcc/include being treated as an include dir in the above?
> include/new:7:7: warning: the # in #pragma should not be at the left
> margin
> include/exception:7:7: warning: the # in #pragma should not be at the
> left margin
More system include files above, but see below.
> ../../egcs-CVS20000401/gcc/cp/tinfo.cc:28:7: warning: the # in #pragma
> should not be at the left margin
> ../../egcs-CVS20000401/gcc/cp/exception.cc:28:7: warning: the # in
> #pragma should not be
> at the left margin
I think we should turn off the "traditional" warnings for G++.
So include/new and include/exception have two reasons not to be shown.:-)
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc-patches
mailing list