I removed the following:
authorKent Mein <mein@cs.umn.edu>
Wed, 1 Sep 2004 12:09:22 +0000 (12:09 +0000)
committerKent Mein <mein@cs.umn.edu>
Wed, 1 Sep 2004 12:09:22 +0000 (12:09 +0000)
  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

source/nan_warn.mk

index 66a3fa0174535b2542267a2081286f702a3c9b5d..a80066872ff533797669802e75bcd7d1f1d33ee6 100644 (file)
@@ -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