From: haleyjd AT NOSPAM DOT hotmail DOT com (James Haley) Newsgroups: comp.os.msdos.djgpp Subject: Re: Question about ISO C99 and GCC Date: 09 Sep 2002 12:08:42 GMT Organization: Concentric Internet Services Lines: 40 Message-ID: <3d7c8f7e.384173158@news.concentric.net> References: <3d71a27d DOT 23705885 AT news DOT nzwide DOT ihug DOT co DOT nz> <3d794cbc DOT 170442372 AT news DOT concentric DOT net> <200209070110 DOT g871AiW02735 AT envy DOT delorie DOT com> <3d7970de DOT 179693669 AT news DOT concentric DOT net> NNTP-Posting-Host: 64.2.0.22 X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I just want to make sure it'll compile as C99 code and not necessarily use any new C99 features, like variable declarations in a for loop, for instance. :) My project has to stay portable to at least 3 platforms right now so I have to aim for the lowest common denominator. James On 7 Sep 2002 12:54:00 GMT, eplmst AT lu DOT erisoft DOT se (Martin Stromberg) wrote: >James Haley (haleyjd AT NOSPAM DOT hotmail DOT com) wrote: >: So, now that I better understand the source of this requirement, I >: have one question. Is it the position of the GCC guys that all code >: to be compiled under GCC should be ISO C99 compliant? I was totally >: unaware of the addition of the new requirement in this standard, as >: I'm sure you ascertained. > >Again, this is the DJGPP list/newsgroup. You need to ask this on the >gcc list/newsgroup. > >(But AFAIK GCC is aiming for C99 compliance, so I guess the answer is >yes.) > >: If this is the case, then it'll be much easier for me now to make sure >: all my source is ISO C99 compliant rather than being revisionist and >: fixing one issue at a time when it arises :-> > >Yes, that should do it. But beware that there are new functions in C99 >that DJGPP libc doesn't implement yet. We need volunteers for that. > >I'm also unsure if the current release DJGPP headers really are C99 >compliant. > > >Right, > > MartinS