Skip to content

Commit

Permalink
Removed gcc 4 workaround for C++11, we require C++14 as minimum
Browse files Browse the repository at this point in the history
    * ACE/include/makeinclude/platform_g++_common.GNU:
  • Loading branch information
jwillemsen committed Sep 15, 2023
1 parent e2acef6 commit 4e5ea53
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ACE/include/makeinclude/platform_g++_common.GNU
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ else
CXX_MINOR_VERSION := $(shell $(CXX_FOR_VERSION_TEST) -dumpversion | sed -e 's/[^0-9\.]//g' | sed -e 's/^[0-9]*\.//' | sed -e 's/\..*$$//')
endif

# gcc 4 has C++03 as default C++ version, enable this to be C++11
ifeq ($(findstring $(CXX_MAJOR_VERSION),4),$(CXX_MAJOR_VERSION))
c++11 ?= 1
# gcc 4 has a problem that it warnings about missing initializers
# for an std::array containing std::string even when {{}} is used
# as it should
FLAGS_C_CC += -Wno-missing-field-initializers
endif

CXX_FULL_VERSION := $(shell $(CXX_FOR_VERSION_TEST) --version)

# Only modify LDFLAGS if DLD has been set.
Expand Down

0 comments on commit 4e5ea53

Please sign in to comment.