diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2021-09-02 17:33:55 -0400 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2021-09-02 17:33:55 -0400 |
commit | 041920c9533fad4a517fe6f268ebbd3af2a903a7 (patch) | |
tree | 8bd6477a4b39d73a8121d7292ffad82591eacf41 /0023-glibcxx-use-c99.patch | |
parent | 58aad36b016765d2b651b9167f0a4caa6142d5f9 (diff) | |
download | cygwin-gcc-041920c9533fad4a517fe6f268ebbd3af2a903a7.tar.gz cygwin-gcc-041920c9533fad4a517fe6f268ebbd3af2a903a7.tar.xz cygwin-gcc-041920c9533fad4a517fe6f268ebbd3af2a903a7.zip |
cygwin-gcc 11.2.0
Diffstat (limited to '0023-glibcxx-use-c99.patch')
-rw-r--r-- | 0023-glibcxx-use-c99.patch | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/0023-glibcxx-use-c99.patch b/0023-glibcxx-use-c99.patch deleted file mode 100644 index 3c546e0..0000000 --- a/0023-glibcxx-use-c99.patch +++ /dev/null @@ -1,85 +0,0 @@ ---- origsrc/gcc-5.3.0/libstdc++-v3/acinclude.m4 2015-11-24 07:25:07.000000000 -0600 -+++ src/gcc-5.3.0/libstdc++-v3/acinclude.m4 2016-02-04 17:42:34.609707600 -0600 -@@ -925,7 +925,7 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ - # Long term, -std=c++0x could be even better, could manage to explicitly - # request C99 facilities to the underlying C headers. - ac_save_CXXFLAGS="$CXXFLAGS" -- CXXFLAGS="$CXXFLAGS -std=c++98" -+ CXXFLAGS="$CXXFLAGS -std=c++11" - ac_save_LIBS="$LIBS" - ac_save_gcc_no_link="$gcc_no_link" - -@@ -1128,7 +1128,6 @@ - - # Option parsed, now set things appropriately. - if test x"$glibcxx_cv_c99_math" = x"no" || -- test x"$glibcxx_cv_c99_complex" = x"no" || - test x"$glibcxx_cv_c99_stdio" = x"no" || - test x"$glibcxx_cv_c99_stdlib" = x"no" || - test x"$glibcxx_cv_c99_wchar" = x"no"; then -@@ -1136,7 +1135,7 @@ - else - AC_DEFINE(_GLIBCXX_USE_C99, 1, - [Define if C99 functions or macros from <wchar.h>, <math.h>, -- <complex.h>, <stdio.h>, and <stdlib.h> can be used or exposed.]) -+ <stdio.h>, and <stdlib.h> can be used or exposed.]) - fi - - gcc_no_link="$ac_save_gcc_no_link" -@@ -1448,7 +1447,7 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ - # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__ - # undefined and fake C99 facilities may be spuriously enabled. - ac_save_CXXFLAGS="$CXXFLAGS" -- CXXFLAGS="$CXXFLAGS -std=c++98" -+ CXXFLAGS="$CXXFLAGS -std=c++11" - - # Check for the existence of <complex.h> complex math functions used - # by tr1/complex. ---- origsrc/gcc-5.3.0/libstdc++-v3/linkage.m4 2013-02-11 11:50:13.000000000 -0600 -+++ src/gcc-5.3.0/libstdc++-v3/linkage.m4 2016-02-12 00:28:50.419067100 -0600 -@@ -333,7 +333,7 @@ - AC_DEFUN([GLIBCXX_CHECK_STDLIB_SUPPORT], [ - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" -- CXXFLAGS='-fno-builtin -D_GNU_SOURCE' -+ CXXFLAGS='-std=gnu++11 -fno-builtin -D_GNU_SOURCE' - - GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_1(at_quick_exit) - GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_1(quick_exit) ---- origsrc/gcc-5.3.0/libstdc++-v3/configure 2015-11-26 07:51:04.000000000 -0600 -+++ src/gcc-5.3.0/libstdc++-v3/configure 2016-02-04 17:43:03.473372800 -0600 -@@ -16646,7 +16646,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - # Long term, -std=c++0x could be even better, could manage to explicitly - # request C99 facilities to the underlying C headers. - ac_save_CXXFLAGS="$CXXFLAGS" -- CXXFLAGS="$CXXFLAGS -std=c++98" -+ CXXFLAGS="$CXXFLAGS -std=c++11" - ac_save_LIBS="$LIBS" - ac_save_gcc_no_link="$gcc_no_link" - -@@ -17270,7 +17270,6 @@ - - # Option parsed, now set things appropriately. - if test x"$glibcxx_cv_c99_math" = x"no" || -- test x"$glibcxx_cv_c99_complex" = x"no" || - test x"$glibcxx_cv_c99_stdio" = x"no" || - test x"$glibcxx_cv_c99_stdlib" = x"no" || - test x"$glibcxx_cv_c99_wchar" = x"no"; then -@@ -18887,7 +18886,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__ - # undefined and fake C99 facilities may be spuriously enabled. - ac_save_CXXFLAGS="$CXXFLAGS" -- CXXFLAGS="$CXXFLAGS -std=c++98" -+ CXXFLAGS="$CXXFLAGS -std=c++11" - - # Check for the existence of <complex.h> complex math functions used - # by tr1/complex. -@@ -26704,7 +26704,7 @@ - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" -- CXXFLAGS='-fno-builtin -D_GNU_SOURCE' -+ CXXFLAGS='-std=gnu++11 -fno-builtin -D_GNU_SOURCE' - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 |