[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autoconf 2.13 bug
From: |
Vadim Zaliva |
Subject: |
autoconf 2.13 bug |
Date: |
Sun, 10 Dec 2000 22:34:07 -0800 (PST) |
Hi!
Autoconf version 2.13 under RedHat Linux version 7. gcc version 2.96.
AC_TRY_RUN macro adds following code at the beginning of
test program:
#ifdef __cplusplus
extern "C" void exit(int);
#endif
This cause following compilation error under gcc 2.96:
/usr/include/stdlib.h:578: declaration of `void exit (int) throw ()'
throws different exceptions
configure:3376: than previous declaration `void exit (int)'
configure: failed program was:
Looks like your declaration of exit() conflicts with one from stdlib,
which under C++ have 'throw' clause.
Sincerely,
Vadim
--
;;----------------------------------+-----------------------------------+
;; Vadim Zaliva + Those who do not understand Unix +
;; mailto:address@hidden + are condemned to reinvent it, +
;; http://www.crocodile.org + poorly. (H. Spencer) +
;;----------------------------------+-----------------------------------+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- autoconf 2.13 bug,
Vadim Zaliva <=