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: Adding a new gcc dir


On 07 March 2007 15:05, Paulo J. Matos wrote:

> On 3/7/07, Dave Korn <dave.korn@artimi.com> wrote:
>> On 07 March 2007 14:30, gcc-gpu@adrenalin-junkie.net wrote:
>> 
>>> Is it time to offer "second-strap" level of compilation? Ie allow C99 to
>>> bootstrap the creation of a basic GCC compiler, then allow a second
>>> compile using the basic GCC compiler to get the full compiler.
>>> 
>>> Nick
>> 
>>   Effectively that's what bootstrapping already does, so IIUIC, as long as
>> no C99 creeps into the core C language compiler, it /should/ work to use
>> C99 (and indeed GCC language extensions, attributes etc. etc.) in e.g. the
>> cp/ subdirectory or other places where the files only relate to other
>> languages. 
>> 
> 
> But if I add in my pass // args, or mixed code and variable
> declarations for example, I get warnings, so it is not that clean.
> Maybe only by removing pedantic, are you able to do that.
> 
> Right?

  Yeah, absolutely.  Although it does /work/ to use these features, I think we
don't yet want to use any of them in the official sources, so the flags set in
the gcc makefile are chosen in order to draw attention to any such features
that anyone might accidentally use without realising.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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