Thomas, your last commit lets Makefile find again GCC and now correctly sets 
CFLAGS with warnings we want to ignore.

Christian



----- Message d'origine -----
De : "Thomas Preud'homme" <[email protected]>
Date ven. 15/02/2013 14:27 (GMT +01:00)
À : "[email protected]" <[email protected]>
Cc : "Urs Janssen" <[email protected]>
Objet : Re: [Tinycc-devel] Using clang

Le vendredi 15 février 2013 13:39:57, grischka a écrit :
> You wrote:
> > fixed pasto in in 108b2876; background for the additional $CC test is:
> > GCC_MAJOR may be set even is $CC not realy gcc (but i.e. clang, which 
(as
> > of 3.1) requires an addtional CFLAG to accept the non portable 
(gnuisms
> > all over the place; try to cimpile tcc with Sun^HOracle, Intel,
> > Pathscale, ... compiler) code).
> 
> Using "-fheinous-gnu-extensions" for clang makes sense but I still
> don't see how "GCC_MAJOR may be set even is $CC not realy gcc"???

I suppose like for tinycc, lots of code out there test GCC_MAJOR and GCC_MINOR 
for available features so other compilers with good compatibility with gcc 
have no choice but to pretend to be gcc.

> 
> Thanks,
> 
> --- grischka

Best regards,

Thomas
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to