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]
Other format: [Raw text]

Re: 3.1 branch ada bootstrap fails


> On May  3, 2002, "John David Anglin" <dave@hiauly1.hia.nrc.ca> wrote:
> 
> > I believe that you have an incompatibility between the GCC driver used
> > for your build and gnatgcc.  There is this configure check:
> 
> > checking whether gcc accepts -Wno-long-long... yes
> 
> This tests whether gcc accepts this flag.  It doesn't check whether
> gnatgcc accept it, nor whether it works when compiling an Ada source
> file (as opposed to a C source file).

Although you can't tell from the report, it looks as if two different
compiler drivers were used for the build (ie., -Wno-long-long wasn't
in the documented_lang_options struct of gnatgcc).  It appears that
documented language options are normally ignored unless extra_warnings
is set.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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