This is the mail archive of the gcc-patches@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: tgmath.h


On Thu, Jul 12, 2007 at 08:52:58AM +0200, Andreas Jaeger wrote:
> > What do people think?  Should I try to suppress this on Linux?  I'll
> > wait a few days before committing for comments.
> 
> glibc has it's own tgmath.h header and I think you should not install it
> on glibc systems,

Yeah, especially when it has GNU extensions in it (e.g. log10 with
-D_GNU_SOURCE can handle also complex arguments, scalb(x, y) is macroized
in the appropriate namespaces, etc.).
The bigger implementation of the macros is a price glibc pays for backwards
compatibility (support for older GCCs).

	Jakub


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