From fc698ff965ccd387fcf0fc217b22fb5de9e4461a Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Thu, 11 Apr 2024 13:06:10 +0200 Subject: [PATCH] Remove check for gcc 4.2, any compiler we support is newer * ACE/include/makeinclude/platform_g++_common.GNU: --- ACE/include/makeinclude/platform_g++_common.GNU | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ACE/include/makeinclude/platform_g++_common.GNU b/ACE/include/makeinclude/platform_g++_common.GNU index 36dbcd43df0..b1eccf4a839 100644 --- a/ACE/include/makeinclude/platform_g++_common.GNU +++ b/ACE/include/makeinclude/platform_g++_common.GNU @@ -111,13 +111,11 @@ ifeq ($(no_strict_aliasing), 1) FLAGS_C_CC += -fno-strict-aliasing else ifneq ($(no_strict_aliasing), 0) - # if not explicitly disabled enable suppression of strict-aliasing checks by default - # for GCC >= 4.2; these checks and the resulting warnings are very controversial and + # if not explicitly disabled enable suppression of strict-aliasing checks by default; + # these checks and the resulting warnings are very controversial and # popular opinion on the web seems to be that it brings little practical value and a # lot of pain to attempt to solve code issues and the best way to deal is to suppress - ifneq ($(findstring $(CXX_MAJOR_VERSION).$(CXX_MINOR_VERSION),4.1),$(CXX_MAJOR_VERSION).$(CXX_MINOR_VERSION)) - FLAGS_C_CC += -fno-strict-aliasing - endif + FLAGS_C_CC += -fno-strict-aliasing endif endif -- 2.11.4.GIT