[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_LANG_SOURCE(C++) and exit
From: |
Raja R Harinath |
Subject: |
AC_LANG_SOURCE(C++) and exit |
Date: |
02 Nov 2000 20:25:19 -0600 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Hi,
AC_LANG_SOURCE(C++) uses
extern "C" void exit (int);
However, the latest libstdc++ will complain about this, since "exit"
function is in the "_C_legacy" and/or "std" namespaces. I think this
line shouldn't be in AC_LANG_SOURCE, but instead use
#include <stdlib.h>
- Hari
--
Raja R Harinath ------------------------------ address@hidden
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash
- AC_LANG_SOURCE(C++) and exit,
Raja R Harinath <=