From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Something fishy in /usr/include
Date: Wed, 3 Dec 1997 21:46:48 -0700 (MST) [thread overview]
Message-ID: <199712040446.VAA02890@ellpspace.math.ualberta.ca> (raw)
I looked at some inline functions in /usr/include on Linux/Alpha
and <__math.h> there is bracketed by
#if defined (__GNUC__) && !defined (__NO_MATH_INLINES)
...
#endif
So far, so good. Only in <math.h> one can find this gem:
/* Get machine-dependent inline versions (if there are any). */
#if defined (__NO_MATH_INLINES) || defined (__OPTIMIZE__)
#include <__math.h>
#endif
Eh?? It seems to me that '!' vanished here somewhere. :-)
OTOH no big harm likely done in any case. If __OPTIMIZE__
is defined you will get your inline functions no matter what.
Still things look a bit funny. <__math.h> has nothing but
inline functions only. Or there are plans to put there something
else, not inlined, as well? If yes then what?
Comments? (This is RH 4.2 distribution, do not know how this
looks for other ones).
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
reply other threads:[~1997-12-04 4:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox