]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
inclhack.def (math_exception): Improve bypass and comment.
authorNathanael Nerode <neroden@gcc.gnu.org>
Wed, 9 Jul 2003 21:00:01 +0000 (21:00 +0000)
committerNathanael Nerode <neroden@gcc.gnu.org>
Wed, 9 Jul 2003 21:00:01 +0000 (21:00 +0000)
* fixinc/inclhack.def (math_exception):  Improve bypass and comment.
* fixinc/fixincl.x: Rebuild.

From-SVN: r69151

gcc/ChangeLog
gcc/fixinc/fixincl.x
gcc/fixinc/inclhack.def

index f70537ef77e6b0a3f0650a935a1aeb7740532ce4..8e3af25b7d7a5cb4f94fcdba2ef7f4a3883d2d15 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-09  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * fixinc/inclhack.def (math_exception):  Improve bypass and comment.
+       * fixinc/fixincl.x: Rebuild.
+
 2003-07-09  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * doc/install.texi (Configuration): Document the valgrind option
index b1a426d468ed5373bf68d0eaeb212028fd12f8f5..884f1e81fe5c922ff280c375c8b177d9fd8a7647 100644 (file)
@@ -2,11 +2,11 @@
  * 
  * DO NOT EDIT THIS FILE   (fixincl.x)
  * 
- * It has been AutoGen-ed  Tuesday July  8, 2003 at 01:41:54 PM PDT
+ * It has been AutoGen-ed  Wednesday July  9, 2003 at 04:58:23 PM EDT
  * From the definitions    inclhack.def
  * and the template file   fixincl
  */
-/* DO NOT CVS-MERGE THIS FILE, EITHER Tue Jul  8 13:41:54 PDT 2003
+/* DO NOT CVS-MERGE THIS FILE, EITHER Wed Jul  9 16:58:23 EDT 2003
  *
  * You must regenerate it.  Use the ./genfixes script.
  *
@@ -3022,7 +3022,7 @@ tSCC zMath_ExceptionSelect0[] =
  *  content bypass pattern - skip fix if pattern found
  */
 tSCC zMath_ExceptionBypass0[] =
-       "We have a problem when using C\\+\\+";
+       "__cplusplus";
 
 #define    MATH_EXCEPTION_TEST_CT  2
 static tTestDesc aMath_ExceptionTests[] = {
index f77c5411d1422a986c789ebb304d39bfaaba778d..dda47b9b8d302643e6a785de95664ec74fde35dc 100644 (file)
@@ -1680,7 +1680,8 @@ fix = {
 
 
 /*
- *  Some math.h files define struct exception, which conflicts with
+ *  Some math.h files define struct exception (it's in the System V
+ *  Interface Definition), which conflicts with
  *  the class exception defined in the C++ file std/stdexcept.h.  We
  *  redefine it to __math_exception.  This is not a great fix, but I
  *  haven't been able to think of anything better.
@@ -1692,7 +1693,7 @@ fix = {
     hackname  = math_exception;
     files     = math.h;
     select    = "struct exception";
-    bypass    = 'We have a problem when using C\+\+';
+    bypass    = '__cplusplus';
     c_fix     = wrap;
 
     c_fix_arg = "#ifdef __cplusplus\n"