Kaydet (Commit) 5255f9f0 authored tarafından Herbert Dürr's avatar Herbert Dürr

stop using Mac specific compiler option "Wno-long-double"

having this option results in a warning for each compile on gcc>=4.2 or clang.
Apple says in http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-June/015095.html
"[...] the best thing is not to use it. There is no reason to."
üst f8f9cb11
...@@ -90,7 +90,6 @@ gb_CXXFLAGS := \ ...@@ -90,7 +90,6 @@ gb_CXXFLAGS := \
-Wendif-labels \ -Wendif-labels \
-Wextra \ -Wextra \
-Wno-ctor-dtor-privacy \ -Wno-ctor-dtor-privacy \
-Wno-long-double \
-Wno-non-virtual-dtor \ -Wno-non-virtual-dtor \
-fPIC \ -fPIC \
-fmessage-length=0 \ -fmessage-length=0 \
......
...@@ -111,7 +111,7 @@ CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs ...@@ -111,7 +111,7 @@ CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs
CFLAGS_NO_EXCEPTIONS=-fno-exceptions CFLAGS_NO_EXCEPTIONS=-fno-exceptions
# Normal C++ compilation flags # Normal C++ compilation flags
CFLAGSCXX=-pipe -malign-natural -fsigned-char -Wno-long-double $(ARCH_FLAGS) CFLAGSCXX=-pipe -malign-natural -fsigned-char $(ARCH_FLAGS)
CFLAGSCXX+= -Wno-ctor-dtor-privacy CFLAGSCXX+= -Wno-ctor-dtor-privacy
PICSWITCH:=-fPIC PICSWITCH:=-fPIC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment