mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
Revert previous patch, it's actually on under Wall.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181837 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f8f7086b1b
commit
e83a6f32a4
@ -674,8 +674,7 @@ CompileCommonOpts += -Wall -W -Wno-unused-parameter -Wwrite-strings \
|
|||||||
$(NO_UNINITIALIZED) $(NO_MAYBE_UNINITIALIZED) \
|
$(NO_UNINITIALIZED) $(NO_MAYBE_UNINITIALIZED) \
|
||||||
$(NO_MISSING_FIELD_INITIALIZERS)
|
$(NO_MISSING_FIELD_INITIALIZERS)
|
||||||
# Enable cast-qual for C++; the workaround is to use const_cast.
|
# Enable cast-qual for C++; the workaround is to use const_cast.
|
||||||
# Also enable -Wreorder.
|
CXX.Flags += -Wcast-qual
|
||||||
CXX.Flags += -Wcast-qual -Wreorder
|
|
||||||
|
|
||||||
ifeq ($(HOST_OS),HP-UX)
|
ifeq ($(HOST_OS),HP-UX)
|
||||||
CompileCommonOpts := -D_REENTRANT -D_HPUX_SOURCE
|
CompileCommonOpts := -D_REENTRANT -D_HPUX_SOURCE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user