bug-autoconf
[Top][All Lists]
Advanced

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

ax_cxx_gcc_abi_demangle.m4: missing header


From: Andriy Gapon
Subject: ax_cxx_gcc_abi_demangle.m4: missing header
Date: Thu, 26 Jul 2012 15:36:07 +0300
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120625 Thunderbird/13.0.1

ax_cxx_gcc_abi_demangle.m4 fails to detect AX_CXX_GCC_ABI_DEMANGLE feature on
FreeBSD when using GCC 4.6 or later.
The test code uses free(3) which is declared in stdlib.h.  In the described
environment the function is _not_ indirectly visible via other headers used.
So compilation of the test code always fails.

Adding an cstdlib header include resolves the issue.

Thank you.
-- 
Andriy Gapon




reply via email to

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