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: Ada files now checked in




On Thu, 4 Oct 2001, Zack Weinberg wrote:

  2. Since gnat 3.13 objects to -W options, compilation command lines
  for Ada must not include them.  However, compilation of C in the ada
  subdirectory should include -W options.  

Also, in stage2 and stage3, we want to use the -W options for Ada files. 
It is not the case that they are not used, since what happens is that
GNAT has the back end recognize its options (everything except -gnat* and
a few others), and processes the front-end options itself.

We work hard to keep the compiler warning free, and it is way too easy to 
start introducing new uninitialized variables and the like without using
-Wuninitialized. Also the warnings are useful to us, as they have caught 
some lingering bugs that would have been hard to find otherwise.

  -Geert



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