[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using AC_C_INLINE blows up C++ tests

From: Bob Friesenhahn
Subject: Using AC_C_INLINE blows up C++ tests
Date: Fri, 6 Jun 2003 19:59:23 -0500 (CDT)

If a configure script uses AC_C_INLINE to test the C compiler, and
then later switches the current language to C++ in order to perform
C++ tests, the C++ tests will fail if AC_C_INLINE re-defines 'inline'
to some other string.

It would be useful if Autoconf would hide any re-definition of inline
if the current language is not C.

Bob Friesenhahn

reply via email to

[Prev in Thread] Current Thread [Next in Thread]