[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 67455db4 06/11: Expunge obsolete history
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 67455db4 06/11: Expunge obsolete history |
Date: |
Mon, 27 Jun 2022 19:56:08 -0400 (EDT) |
branch: master
commit 67455db4a43e7c4672d152f7e30391f0ca748e5b
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Expunge obsolete history
The reasons for using various options with old gcc versions are usually
of little interest today:
- libstdc++ engendered some warnings
- a bad snprintf() was replaced by a better one
- "hello world" failed to compile
The discussion of '-fomit-frame-pointer' remains relevant; therefore,
retained it, and expunged only duplicative citations.
---
compiler_gcc.make | 57 +------------------------------------------------------
1 file changed, 1 insertion(+), 56 deletions(-)
diff --git a/compiler_gcc.make b/compiler_gcc.make
index 90b424a3..839bef2a 100644
--- a/compiler_gcc.make
+++ b/compiler_gcc.make
@@ -146,62 +146,7 @@ cxx_standard := -fno-ms-extensions -frounding-math
-fsignaling-nans -std=c++20
# $(gcc_version_specific_cxx_warnings)
# last, in order to override other options.
-ifeq (3.4.4,$(gcc_version))
- # Suppress spurious gcc-3.4.4 warnings:
- # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22207
- gcc_version_specific_c_warnings := -Wno-uninitialized
- gcc_version_specific_cxx_warnings := -Wno-uninitialized
- cxx_standard := -std=c++98
-else ifeq (3.4.5,$(gcc_version))
- # Suppress spurious gcc-3.4.5 warnings:
- # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22207
- gcc_version_specific_c_warnings := -Wno-uninitialized
- gcc_version_specific_cxx_warnings := -Wno-uninitialized
- # Fix "hello world":
- #
http://sourceforge.net/tracker/index.php?func=detail&aid=2373234&group_id=2435&atid=102435
- cxx_standard := -std=gnu++98
- # Use a correct snprintf() implementation:
- # http://article.gmane.org/gmane.comp.gnu.mingw.user/27539
- cxx_standard += -posix
-else ifneq (,$(filter $(gcc_version), 4.9.1 4.9.2))
- # See:
- # https://lists.nongnu.org/archive/html/lmi/2015-12/msg00028.html
- # https://lists.nongnu.org/archive/html/lmi/2015-12/msg00040.html
- gcc_version_specific_c_warnings := \
- -Wno-conversion \
- -Wno-unused-local-typedefs \
- -Wno-unused-variable \
-
- gcc_version_specific_cxx_warnings := \
- -Wno-conversion \
- -Wno-unused-local-typedefs \
- -Wno-unused-variable \
-
- cxx_standard := -std=c++11
-else ifneq (,$(filter $(gcc_version), 6.3.0))
- gcc_version_specific_c_warnings := -Wno-conversion
- gcc_version_specific_cxx_warnings := -Wno-conversion
-
- cxx_standard := -fno-ms-extensions -frounding-math -fsignaling-nans
-std=c++17
-else ifneq (,$(filter $(gcc_version), 7.2.0 7.3.0))
- gcc_version_specific_c_warnings :=
- gcc_version_specific_cxx_warnings :=
-
- cxx_standard := -fno-ms-extensions -frounding-math -fsignaling-nans
-std=c++17
-else ifneq (,$(filter $(gcc_version), 8 8.1.0 8.2.0 8.3.0 9 9.3.0))
- gcc_version_specific_c_warnings :=
- gcc_version_specific_cxx_warnings :=
-
- ifeq (x86_64-w64-mingw32,$(findstring x86_64-w64-mingw32,$(LMI_TRIPLET)))
-# See:
-# https://lists.nongnu.org/archive/html/lmi/2019-03/msg00026.html
-# https://lists.nongnu.org/archive/html/lmi/2020-12/msg00000.html
-# https://lists.nongnu.org/archive/html/lmi/2020-12/msg00002.html
- tutelary_flag := -fomit-frame-pointer
- endif
-
- cxx_standard := -fno-ms-extensions -frounding-math -fsignaling-nans
-std=c++2a
-else ifneq (,$(filter $(gcc_version), 10 10.0))
+ifneq (,$(filter $(gcc_version), 10 10.0))
gcc_version_specific_c_warnings :=
gcc_version_specific_cxx_warnings := \
- [lmi-commits] [lmi] master updated (fd6587af -> ceb0ac3b), Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master c63aa42b 07/11: Refactor, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master b2160aeb 01/11: Expunge $(actually_used_lmi_so_attributes), Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master a68f8519 03/11: Transplant $REQUIRED_CPPFLAGS, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 76ac1bab 09/11: Transplant a definition, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master ceb0ac3b 11/11: Fix defect introduced 20220623T2020Z: required information hidden, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 63460397 04/11: Expunge useless history, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 3bb0968b 02/11: Expunge two more needless local variables, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 0771a1bb 05/11: Don't accept obsolete compiler versions, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 67455db4 06/11: Expunge obsolete history,
Greg Chicares <=
- [lmi-commits] [lmi] master 620bcee6 10/11: Refactor in anticipation of transplantation, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master d8ac666a 08/11: Generally avoid remaking makefiles, Greg Chicares, 2022/06/27