[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with exit() and new version of gcc.
From: |
Assar Westerlund |
Subject: |
Re: Problem with exit() and new version of gcc. |
Date: |
18 Dec 2000 01:52:37 +0100 |
User-agent: |
Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 |
Mo DeJong <address@hidden> writes:
> #include "confdefs.h"
> #ifdef __cplusplus
> extern "C" void exit (int);
> #endif
I think this problem has already been discussed on the mailing list.
We should in my opinion just remove the declaration of exit for C++,
like so:
/assar
Index: aclang.m4
===================================================================
RCS file: /cvs/autoconf/aclang.m4,v
retrieving revision 1.98
diff -u -w -u -w -r1.98 aclang.m4
--- aclang.m4 2000/12/15 11:50:19 1.98
+++ aclang.m4 2000/12/18 00:51:46
@@ -422,9 +422,6 @@
m4_define([AC_LANG_SOURCE(C++)],
[#line __oline__ "configure"
#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit (int);
-#endif
$1])