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: Dealing with compilers that pretend to be GCC


On 2012-01-21 13:58:53 +0000, Jonathan Wakely wrote:
> On 21 January 2012 13:42, Vincent Lefevre wrote:
> > On 2012-01-21 01:24:19 +0000, Jonathan Wakely wrote:
> >> And what about the fact other compilers haven't defined such a macro
> >> for each extension they implement, whether it comes from GCC or not,
> >> is that GCC's fault too?
> >
> > But GCC implemented them first.
> 
> I said "whether it comes from GCC or not".  GCC didn't first implement
> the extensions that don't come from GCC.

I thought they were all coming from GCC (an impression partly given
by the fact that ICC defines __GNUC__).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


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