If the operator new doesn't throw exception, #define
_RWSTD_NO_NEW_THROWS
appears twice in config.h file:
- first (//#define _RWSTD_NO_NEW_THROWS) from configure.wsf script due
to zero exit code;
- second (#define _RWSTD_NO_NEW_THROWS) from test printf().
The patch below:
Index: NEW_THROWS.cpp
===================================================================
--- NEW_THROWS.cpp (revision 450890)
+++ NEW_THROWS.cpp (working copy)
@@ -115,7 +115,5 @@
return 0;
}
- printf ("#define _RWSTD_NO_NEW_THROWS\n");
-
- return 0;
+ return 1;
}
Farid.
|