]> git.sesse.net Git - stockfish/commitdiff
Use "pedantic" flag also for mingw
authorppigazzini <pasquale.pigazzini@gmail.com>
Sun, 22 Aug 2021 13:44:30 +0000 (15:44 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 27 Aug 2021 05:49:26 +0000 (07:49 +0200)
This will avoid to run in fishtest a test where the linux machines exit from
the building process and only the windows machines run the test.

See:
https://tests.stockfishchess.org/tests/view/61122d732a8a49ac5be79996
https://github.com/SFisGOD/Stockfish/commit/4e422577d6ebd1f6ecf606189190b8f6fb03f6c9#comments

closes https://github.com/official-stockfish/Stockfish/pull/3671

No functional change.

src/Makefile

index 901ddd9245344782469bc17395bc47587e4b04f1..d92854bca193e71f83c1d457a832391f7addfcd5 100644 (file)
@@ -368,7 +368,7 @@ ifeq ($(COMP),mingw)
                CXX=g++
        endif
 
-       CXXFLAGS += -Wextra -Wshadow
+       CXXFLAGS += -pedantic -Wextra -Wshadow
        LDFLAGS += -static
 endif