aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2015-10-21 18:15:49 +0000
committerCaroline Tice <cmtice@google.com>2015-10-21 18:15:49 +0000
commit4499305bbcd0c4bd2baf3b436138856e8088eb08 (patch)
tree2b886f25d87ff98f0846bc59c0fae812aea19945
parent229de19286d77bf9144798ab6702ef3601acc801 (diff)
Fix single quote error in libstdcxx header files.
The single quote in the #error messages was causing some regression test failures. This removes the single quotes and puts the error messages inside double quotes. ChangeLog: 2015-10-21 Caroline Tice <cmtice@google.com> * libstdc++-v3/include/c-compatibility/complex.h: Remove single quote (apostrophe) from #error message. * libstdc++-v3/include/stc/complex: Remove single quote (apostrophe) from #error message. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/google/gcc-4_9-mobile@229133 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++-v3/include/c_compatibility/complex.h2
-rw-r--r--libstdc++-v3/include/std/complex2
2 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/c_compatibility/complex.h b/libstdc++-v3/include/c_compatibility/complex.h
index b15361ea0d5..a79b4e4cc63 100644
--- a/libstdc++-v3/include/c_compatibility/complex.h
+++ b/libstdc++-v3/include/c_compatibility/complex.h
@@ -39,7 +39,7 @@
// <complex.h> is defined to provide only what C++11's <ccomplex> does in a
// different namespace.
#ifdef _GLIBCXX_COMPLEX
-# error Cannot include both <complex> and C99's <complex.h>
+# error "Cannot include both <complex> and C99 <complex.h>"
#endif
// Delegate to a system complex.h if we don't provide it as part of the C++
diff --git a/libstdc++-v3/include/std/complex b/libstdc++-v3/include/std/complex
index 3f98505f730..f4fe2f35ff0 100644
--- a/libstdc++-v3/include/std/complex
+++ b/libstdc++-v3/include/std/complex
@@ -50,7 +50,7 @@
// <complex.h> is defined to provide only what C++11's <ccomplex> does in a
// different namespace.
#ifdef _GLIBCXX_C99_COMPLEX_H
-#error Cannot include both <complex> and C99's <complex.h>
+#error "Cannot include both <complex> and C99 <complex.h>"
#endif
namespace std _GLIBCXX_VISIBILITY(default)