Skip to content
Closed
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
12 changes: 5 additions & 7 deletions src/posix.mak
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,6 @@ endif
else
# Default Warnings
WARNINGS := -Wno-deprecated -Wstrict-aliasing -Werror
# Clang Specific
ifeq ($(CXX_KIND), clang++)
WARNINGS += \
-Wno-logical-op-parentheses \
-Wno-dynamic-class-memaccess \
-Wno-switch
endif
endif

OS_UPCASE := $(shell echo $(OS) | tr '[a-z]' '[A-Z]')
Expand All @@ -211,6 +204,11 @@ ifeq ($(CXX_KIND), g++)
CXXFLAGS += \
-std=gnu++98
endif
# Clang Specific
ifeq ($(CXX_KIND), clang++)
CXXFLAGS += \
-xc++
endif
DFLAGS := -version=MARS $(PIC)
# Enable D warnings
DFLAGS += -w -de
Expand Down