aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-05-17 08:00:15 +0000
committerTristan Gingold <gingold@gcc.gnu.org>2011-05-17 08:00:15 +0000
commitf3450bc8d85a76ebfbd7b1fd6bf987465f1abc35 (patch)
treeae166794158958dd01fbc27332f10104019b1592
parent8637e32a7e451f4ee4b09b868546576b56b7a872 (diff)
downloadgcc-f3450bc8d85a76ebfbd7b1fd6bf987465f1abc35.zip
gcc-f3450bc8d85a76ebfbd7b1fd6bf987465f1abc35.tar.gz
gcc-f3450bc8d85a76ebfbd7b1fd6bf987465f1abc35.tar.bz2
inclhack.def (solaris_complex_cxx): Fix syntax.
2011-05-17 Tristan Gingold <gingold@adacore.com> * inclhack.def (solaris_complex_cxx): Fix syntax. * fixincl.x: Regenerate. From-SVN: r173818
-rw-r--r--fixincludes/ChangeLog5
-rw-r--r--fixincludes/fixincl.x10
-rw-r--r--fixincludes/inclhack.def4
3 files changed, 13 insertions, 6 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog
index aba71a8..4a5e166 100644
--- a/fixincludes/ChangeLog
+++ b/fixincludes/ChangeLog
@@ -1,5 +1,10 @@
2011-05-17 Tristan Gingold <gingold@adacore.com>
+ * inclhack.def (solaris_complex_cxx): Fix syntax.
+ * fixincl.x: Regenerate.
+
+2011-05-17 Tristan Gingold <gingold@adacore.com>
+
* check.tpl: Shell-quote testing file.
2011-03-22 Joseph Myers <joseph@codesourcery.com>
diff --git a/fixincludes/fixincl.x b/fixincludes/fixincl.x
index d9117d8..d9d6f6b 100644
--- a/fixincludes/fixincl.x
+++ b/fixincludes/fixincl.x
@@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
- * It has been AutoGen-ed Monday November 8, 2010 at 08:33:47 PM MET
+ * It has been AutoGen-ed May 16, 2011 at 02:55:35 PM by AutoGen 5.11.1
* From the definitions inclhack.def
* and the template file fixincl
*/
-/* DO NOT SVN-MERGE THIS FILE, EITHER Mon Nov 8 20:33:47 MET 2010
+/* DO NOT SVN-MERGE THIS FILE, EITHER Mon May 16 14:55:35 CEST 2011
*
* You must regenerate it. Use the ./genfixes script.
*
@@ -6256,10 +6256,12 @@ tSCC* apzSolaris_Complex_CxxMachs[] = {
* Fix Command Arguments for Solaris_Complex_Cxx
*/
static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
- "-e", "/#if[ \t]*!defined(__cplusplus)/c#ifdef\t__cplusplus\\\n\
+ "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
+#ifdef\t__cplusplus\\\n\
extern \"C\" {\\\n\
#endif",
- "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c#ifdef\t__cplusplus\\\n\
+ "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
+#ifdef\t__cplusplus\\\n\
}\\\n\
#endif",
(char*)NULL };
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index ac8f795..a20ab9d 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -3315,9 +3315,9 @@ fix = {
hackname = solaris_complex_cxx;
mach = "*-*-solaris2.*";
files = complex.h;
- sed = "/#if[ \t]*!defined(__cplusplus)/c"
+ sed = "/#if[ \t]*!defined(__cplusplus)/c\\\n"
"#ifdef\t__cplusplus\\\nextern \"C\" {\\\n#endif";
- sed = "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c"
+ sed = "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n"
"#ifdef\t__cplusplus\\\n}\\\n#endif";
test_text = "#if !defined(__cplusplus)\n"
"#endif /* !defined(__cplusplus) */";