I removed the following:

LEVEL_2_CPP_WARNINGS += -Wstrict-prototypes
  LEVEL_2_CPP_WARNINGS += -Wmissing-prototypes

Every version of g++ i've used has stated these two were not for g++
but for c or objectivec.

Kent
This commit is contained in:
Kent Mein 2004-09-01 12:09:22 +00:00
parent 2e0380f365
commit e63db96a57

@ -137,8 +137,6 @@ ifeq ($(CCC),g++)
LEVEL_2_CPP_WARNINGS += -Wcast-qual
LEVEL_2_CPP_WARNINGS += -Wcast-align
# deliberately disable aggregate-return warnings
LEVEL_2_CPP_WARNINGS += -Wstrict-prototypes
LEVEL_2_CPP_WARNINGS += -Wmissing-prototypes
LEVEL_2_CPP_WARNINGS += -Wredundant-decls
LEVEL_2_CPP_WARNINGS += -Wreorder
LEVEL_2_CPP_WARNINGS += -Wctor-dtor-privacy