added c90 test to c_standards

to catch `//` comments
This commit is contained in:
Yann Collet 2018-03-21 07:19:48 -07:00
parent 863e24892d
commit 7b4c448571

View File

@ -173,7 +173,7 @@ gpptest gpptest32: clean
CC=$(CC) $(MAKE) -C $(TESTDIR) all CFLAGS="$(CFLAGS)"
c_standards: clean
# note : lz4 is not C90 compatible, because it requires long long support
CFLAGS="-std=c90 -Werror" $(MAKE) clean allmost
CFLAGS="-std=gnu90 -Werror" $(MAKE) clean allmost
CFLAGS="-std=c99 -Werror" $(MAKE) clean allmost
CFLAGS="-std=gnu99 -Werror" $(MAKE) clean allmost