From 4499305bbcd0c4bd2baf3b436138856e8088eb08 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Wed, 21 Oct 2015 18:15:49 +0000 Subject: 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 * 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 --- libstdc++-v3/include/c_compatibility/complex.h | 2 +- libstdc++-v3/include/std/complex | 2 +- 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 @@ // is defined to provide only what C++11's does in a // different namespace. #ifdef _GLIBCXX_COMPLEX -# error Cannot include both and C99's +# error "Cannot include both and C99 " #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 @@ // is defined to provide only what C++11's does in a // different namespace. #ifdef _GLIBCXX_C99_COMPLEX_H -#error Cannot include both and C99's +#error "Cannot include both and C99 " #endif namespace std _GLIBCXX_VISIBILITY(default) -- cgit v1.2.3