From 60b92097175e4bd51b89152e619fcace09b6c9d9 Mon Sep 17 00:00:00 2001 From: Mikhail Maltsev Date: Sun, 31 May 2015 08:12:55 +0000 Subject: [PATCH] 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. From-SVN: r223898 --- gcc/ChangeLog | 6 ++++++ gcc/config/cris/cris.h | 2 +- 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 + + * 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 * 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 -- 2.30.2