diff options
author | miyuki <miyuki@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-05-31 08:12:55 +0000 |
---|---|---|
committer | miyuki <miyuki@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-05-31 08:12:55 +0000 |
commit | 1e0b903d199eec4dcb31e176b8db72011d6ddd72 (patch) | |
tree | 1cb5597e4322adc268e37f7b1730286196fa3a0b | |
parent | 14a8a9febefa54cb3df7f9ea73283b43f8afee8a (diff) | |
download | gcc-1e0b903d199eec4dcb31e176b8db72011d6ddd72.tar.gz |
Fix C++11 compatibility issue
* config/cris/cris.h (CRIS_ARCH_CPP_DEFAULT): Fix C++11 compatibility
issue (add space between string literal and macro).
* config/i386/mingw32.h (REAL_LIBGCC_SPEC): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223898 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/cris/cris.h | 2 | ||||
-rw-r--r-- | gcc/config/i386/mingw32.h | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9efdb9c1788..5625750e3a6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-05-31 Mikhail Maltsev <maltsevm@gmail.com> + + * config/cris/cris.h (CRIS_ARCH_CPP_DEFAULT): Fix C++11 compatibility + issue (add space between string literal and macro). + * config/i386/mingw32.h (REAL_LIBGCC_SPEC): Likewise. + 2015-05-30 Andreas Schwab <schwab@linux-m68k.org> * config/m68k/m68k.h (ASM_PCREL_SPEC): Pass --pcrel also for diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h index aa7dc17f2d9..1561cd1f0e7 100644 --- a/gcc/config/cris/cris.h +++ b/gcc/config/cris/cris.h @@ -134,7 +134,7 @@ extern int cris_cpu_version; %{!metrax*:\ %{!mcpu=*:\ %{!mtune=*:-D__tune_v" CRIS_DEFAULT_TUNE "}\ - -D__arch_v"CRIS_DEFAULT_TUNE\ + -D__arch_v" CRIS_DEFAULT_TUNE \ " -D__CRIS_arch_version=" CRIS_DEFAULT_TUNE "}}}" #endif diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index f1397614ed8..eef90fb17aa 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -139,7 +139,7 @@ along with GCC; see the file COPYING3. If not see #undef REAL_LIBGCC_SPEC #define REAL_LIBGCC_SPEC \ "%{mthreads:-lmingwthrd} -lmingw32 \ - "SHARED_LIBGCC_SPEC" \ + " SHARED_LIBGCC_SPEC " \ -lmoldname -lmingwex -lmsvcrt" #undef STARTFILE_SPEC |