From: Mikhail Maltsev Date: Sun, 31 May 2015 08:12:55 +0000 (+0000) Subject: Fix C++11 compatibility issue X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60b92097175e4bd51b89152e619fcace09b6c9d9;p=gcc.git 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 --- 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