[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_TYPE_SIGNAL and C++
From: |
Werner LEMBERG |
Subject: |
AC_TYPE_SIGNAL and C++ |
Date: |
Thu, 08 Apr 2004 19:24:44 +0200 (CEST) |
[CVS 2004-03-27]
For testing purposes I've used g++ 3.0.1 as my C compiler. (I think
that this early version of g++ 3 doesn't matter for the problem
discussed here -- please correct me if I'm wrong.) Reason is that
there are platforms (according to Nelson Beebe) which use a C++
compiler for compiling C programs also.
The AC_TYPE_SIGNAL test then fails like this on my Linux 2.4.10 box:
conftest.c:41: declaration of
`void (* signal(int, void (*)(int)))(int)'
throws different exceptions
/usr/include/signal.h:87: than previous declaration
`void (* signal(int, void (*)(int)))(int) throw ()'
Maybe you can implement a similar approach as used for the `exit'
function in _AC_PROG_CXX_EXIT_DECLARATION.
Werner
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- AC_TYPE_SIGNAL and C++,
Werner LEMBERG <=