|
From: Matthew F. <fl...@ml...> - 2006-06-08 16:57:46
|
Better handling of OS specific warnings ---------------------------------------------------------------------- U mlton/branches/on-20050822-x86_64-branch/runtime/Makefile ---------------------------------------------------------------------- Modified: mlton/branches/on-20050822-x86_64-branch/runtime/Makefile =================================================================== --- mlton/branches/on-20050822-x86_64-branch/runtime/Makefile 2006-06-08 23:56:43 UTC (rev 4635) +++ mlton/branches/on-20050822-x86_64-branch/runtime/Makefile 2006-06-08 23:57:45 UTC (rev 4636) @@ -131,6 +131,7 @@ WARNCFLAGS += -Wmissing-field-initializers endif WARNCFLAGS += -Wmissing-noreturn +WARNCFLAGS += -Wmissing-format-attribute # WARNCFLAGS += -Wpacked -Wpadded WARNCFLAGS += -Wredundant-decls WARNCFLAGS += -Wnested-externs @@ -142,9 +143,7 @@ # GCC doesn't recognize the %I64 format specifier which means %ll on windows ifeq ($(TARGET_OS), mingw) -WARNCFLAGS += -Wno-format -else -WARNCFLAGS += -Wmissing-format-attribute +WARNCFLAGS += -Wno-format -Wno-missing-format-attribute endif UTILCFILES = \ @@ -174,7 +173,7 @@ platform.c HFILES = \ - cenv.h \ + cenv.h \ $(UTILHFILES) \ util.h \ $(GCHFILES) \ |