[Top][All Lists]

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

Re: Using AC_C_INLINE blows up C++ tests

From: Assar Westerlund
Subject: Re: Using AC_C_INLINE blows up C++ tests
Date: 07 Jun 2003 12:27:52 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Bob Friesenhahn <address@hidden> writes:
> 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.

Wouldn't that require autoconf to write multiple config.h for multiple
languages?  That might be a good idea, but it would require the
configure script to tell what things should be in common, and quite a
bit of restructuring of autoconf.

reply via email to

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