summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-12-19 21:57:24 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-12-19 21:57:24 (GMT)
commit2bfadd82351ea5067caf485ee17d6cb2f850104b (patch)
treecb2a4ad3b6e2651e8b5e378b1206d4e02b50e4e1
parent4df7c41311c4c290c99e7e179fd567d0f6470f07 (diff)
downloadhdf5-2bfadd82351ea5067caf485ee17d6cb2f850104b.zip
hdf5-2bfadd82351ea5067caf485ee17d6cb2f850104b.tar.gz
hdf5-2bfadd82351ea5067caf485ee17d6cb2f850104b.tar.bz2
[svn-r4744]
Purpose: Bug Fix Description: There were weird "throw()"s which were being placed into the configure script. Some C++ compilers were barfing on this syntax (which was akin to "extern int exit(int) throw ();" wonder why?). Solution: Ran a different autoconf on the configure file which I'd downloaded from ftp.gnu.org. It doesn't have those "throw()"s anymore Platforms tested: Linux
-rwxr-xr-xc++/configure8
1 files changed, 4 insertions, 4 deletions
diff --git a/c++/configure b/c++/configure
index 976ca4f..d887bb6 100755
--- a/c++/configure
+++ b/c++/configure
@@ -1903,7 +1903,7 @@ else
#line 1904 "configure"
#include "confdefs.h"
#ifdef __cplusplus
-extern "C" void exit(int) throw();
+extern "C" void exit(int);
#endif
#include <iostream>
@@ -1938,7 +1938,7 @@ else
#line 1939 "configure"
#include "confdefs.h"
#ifdef __cplusplus
-extern "C" void exit(int) throw();
+extern "C" void exit(int);
#endif
#ifdef OLD_HEADER_FILENAME
@@ -1987,7 +1987,7 @@ else
#line 1988 "configure"
#include "confdefs.h"
#ifdef __cplusplus
-extern "C" void exit(int) throw();
+extern "C" void exit(int);
#endif
int main(void) {
@@ -2023,7 +2023,7 @@ else
#line 2024 "configure"
#include "confdefs.h"
#ifdef __cplusplus
-extern "C" void exit(int) throw();
+extern "C" void exit(int);
#endif
int main(void) {