r-travis icon indicating copy to clipboard operation
r-travis copied to clipboard

Pedantic compiler warnings

Open jeroen opened this issue 9 years ago • 0 comments

Would be nice to have an easy way to enable -pedantic warnings in CMD check. I think this is most easily implemented by writing some flags to ~/.R/Makevars.

CFLAGS += -O3 -Wall -pipe -pedantic -std=gnu99
CXXFLAGS += -O3 -Wall -pipe -Wno-unused -pedantic 
FFLAGS += -O3 -g0 -Wall -pipe
FCFLAGS += -O3 -g0 -Wall -pipe
CXX1XFLAGS=-O3 -Wall -pipe -Wno-unused -pedantic

jeroen avatar Apr 12 '15 22:04 jeroen