Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed work arounds for ancient compilers #2152

Merged
merged 2 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions ACE/include/makeinclude/platform_gcc_clang_common.GNU
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ CCFLAGS += -Wnon-virtual-dtor
# Suppress "Creating *.a" Message
ARFLAGS += -c

gcc_template_instantiation_visibility ?= 0
ifeq ($(shared_libs), 1)
ifneq ($(static_libs_only), 1)
# Add all symbols to the dynamic symbol table. Needed to enable
Expand Down Expand Up @@ -34,9 +33,6 @@ ifeq ($(shared_libs), 1)
# improved shared library binaries.
ifneq ($(no_hidden_visibility),1)
CCFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
ifeq ($(gcc_template_instantiation_visibility),1)
CCFLAGS += -DACE_GCC_HAS_TEMPLATE_INSTANTIATION_VISIBILITY_ATTRS=1
endif # gcc_template_instantiation_visibility
else
CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0
endif # no_hidden_visibility
Expand Down
12 changes: 0 additions & 12 deletions ACE/include/makeinclude/platform_linux.GNU
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,6 @@ ifeq (Ubuntu, $(findstring Ubuntu,$(LSB_RELEASE_ID)))
no_hidden_visibility ?= 1
endif
endif
ifeq (Red Hat, $(findstring Red Hat,$(CXX_FULL_VERSION)))
ifeq (4.1.1, $(findstring 4.1.1,$(CXX_VERSION)))
gcc_template_instantiation_visibility ?= 1
endif
ifeq (4.1.2, $(findstring 4.1.2,$(CXX_VERSION)))
gcc_template_instantiation_visibility ?= 1
endif
endif
# Mandriva 2007
ifeq (4.1.1-3mdk, $(findstring 4.1.1-3mdk,$(CXX_FULL_VERSION)))
gcc_template_instantiation_visibility ?= 1
endif

ifeq ($(buildbits),32)
FLAGS_C_CC += -m32
Expand Down
Loading