[Pkg-netsim-devel] Bug#689424: Use of nested functions in configure check
Michael Tautschnig
mt at debian.org
Tue Oct 2 13:16:05 UTC 2012
Package: ns2
Version: 2.35+dfsg-1
conf/configure.in.nse uses AC_TRY_COMPILE to detect header files. The second
argument of this macro is supposed to be a function body, but this
configure.in.nse includes int main() { <actual body> }, resulting in nested
functions.
This is accepted by GCC, but other compilers (including CLANG) reject this GCC
extension.
Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-netsim-devel/attachments/20121002/f5e5d78a/attachment.pgp>
More information about the Pkg-netsim-devel
mailing list