diff options
author | Vincent Sanders <vincent.sanders@collabora.co.uk> | 2013-05-12 10:58:03 +0100 |
---|---|---|
committer | Vincent Sanders <vincent.sanders@collabora.co.uk> | 2013-05-12 10:58:03 +0100 |
commit | 5df6e339ac1a86dca684cfbcfa86631abfa00d03 (patch) | |
tree | fcb2bd295b6cf85807584818bd99af6c75426549 | |
parent | df7c3fd201cd88fd7989566303ca3937cbc7642d (diff) | |
download | libnsfb-5df6e339ac1a86dca684cfbcfa86631abfa00d03.tar.gz libnsfb-5df6e339ac1a86dca684cfbcfa86631abfa00d03.tar.bz2 |
make warnings less stringent so it builds on all the compilers we use
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -15,8 +15,11 @@ TESTRUNNER = test/runtest.sh $(BUILDDIR) $(EXEEXT) # Toolchain flags WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ - -Wmissing-declarations -Wnested-externs -Werror -pedantic \ - -Wno-overlength-strings # For nsglobe.c + -Wmissing-declarations -Wnested-externs -Werror + +# would like these flags but gcc earlier than 4.4 fail +#-pedantic -Wno-overlength-strings # For nsglobe.c + CFLAGS := -g -std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112L \ -I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) -Wno-error |