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: Autoconf 2.59 breaks libstdc++ checks


Kean Johnston <jkj@sco.com> writes:

> The problem is the new code there does a #undef $1. This is
> what is breaking things, and its wrong. It is a perfectly
> valid thing for an OS to use #define to implement some function
> in terms of another.

But unless stated otherwise, all functions in the C library are also
required to be provided as indentifiers with external linkage.

> For example, to implement isinf() in terms of a call to fpclassify().

The C standard explicitly says that isinf is a macro, so IMHO
AC_CHECK_FUNC is not the right way to check for its existence.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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