Don't use C-specific warnings with C++ files.

parent 7137250e
......@@ -461,7 +461,9 @@ endif
COMMONFLAGS+= -funsigned-char -fno-strict-aliasing $(F_JUMP_TABLES)
COMPILERFLAGS+= $(CWARNS) $(W_NO_UNUSED_RESULT) -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2
COMPILERFLAGS+= $(W_NO_UNUSED_RESULT) -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2
CONLYFLAGS+= $(CWARNS)
ifeq (0,$(NETCODE))
COMPILERFLAGS+= -DNETCODE_DISABLE
......
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