[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_CHECK_FUNC bug when in c++ mode
From: |
Miroslaw Dobrzanski-Neumann |
Subject: |
AC_CHECK_FUNC bug when in c++ mode |
Date: |
Tue, 7 May 2002 15:39:40 +0200 |
User-agent: |
Mutt/1.3.16i |
Hi,
$ autoconf --version
autoconf (GNU Autoconf) 2.52
When running in C++ mode autoconf checks for a function this way
extern "C" char function ();
char (*f) ();
f = &function
Sun Forte Compier considers it as error because due to:
``(Anachronism): Assigning extern "C" char(*)() to char(*)()''
extern "C" char (*) ()
and
char (*) ()
are two different pointer types
Attached you find a patch for aclang.m4
Regards
--
Miroslaw Dobrzanski-Neumann
MOSAIC SOFTWARE AG
Base Development and Research
Tel +49-2225-882-291
Fax +49-2225-882-201
Office: address@hidden
Home: address@hidden
aclang.m4.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- AC_CHECK_FUNC bug when in c++ mode,
Miroslaw Dobrzanski-Neumann <=