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: PATCH: Add tgmath.h


"Joseph S. Myers" <jsm@polyomino.org.uk> writes:

| On Mon, 16 Aug 2004, Gabriel Dos Reis wrote:
| 
| > I believe this is a key ppint we ought to decide on as a general policy.
| > Not only <complex.h>, but any other headers that the target might
| > lack.  (<fenv.h> anyone?)
| 
| As those headers declare functions there's not much use in adding them 
| when the functions aren't in the library.  (Note how little goes in the 

It has also been my understanding that if we elect to provide a
header, we would not just provide declarations, but also the
corresponding definitions, too.  Otherwise, the whole thing is
pointless.  This is why it is different from fixinclude trickery.

| headers fixproto can add.)  The question is about <tgmath.h> when some but 
| not all of the functions it needs are present, so maybe some macros would 
| work but not others.

I believe it is pointless to provide a <tgmath.h> if it is going to fail.

-- Gaby


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