Skip to content

Commit 21179fd

Browse files
author
LAMBERT Jean-charles
committed
clang c++17 compliant
1 parent 7ca3646 commit 21179fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

usr/dehnen/utils/make.clang

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ ostype:
2424
# set following variable to 1 if gcc > 700
2525
#API_GCC_7 := $(shell expr `echo $(GCCVERSION)` \>= 700)
2626

27-
STDAPI=-std=c++03
27+
STDAPI=#-std=c++03
2828

2929
# warning flags
3030
ifdef LIMITED_WARNINGS
31-
WARNING := $(LIMITED_WARNINGS) -Wshadow -Wno-format-security -Wno-unused-variable -Wno-unused-parameter -Wno-redeclared-class-member -Wno-c++11-compat-deprecated-writable-strings -Wno-shadow
31+
WARNING := #$(LIMITED_WARNINGS) -Wshadow -Wno-format-security -Wno-unused-variable -Wno-unused-parameter -Wno-redeclared-class-member -Wno-c++11-compat-deprecated-writable-strings -Wno-shadow
3232
else
33-
WARNING := -Wextra -Winit-self -Wshadow -Wno-format-security -Wno-unused-variable -Wno-unused-parameter -Wno-redeclared-class-member -Wno-c++11-compat-deprecated-writable-strings -Wno-shadow
33+
WARNING := #-Wextra -Winit-self -Wshadow -Wno-format-security -Wno-unused-variable -Wno-unused-parameter -Wno-redeclared-class-member -Wno-c++11-compat-deprecated-writable-strings -Wno-shadow
3434
endif
3535
ifndef TBBROOT
3636
ifdef WDutilsDevel
3737
WARNING += -Wold-style-cast
3838
endif
3939
endif
4040
#WARNING += -Wno-unknown-pragmas
41-
41+
WARNING += -Wno-unused-command-line-argument -Wno-redeclared-class-member
4242
# it seem that coverage (to be combined with gcov) does not work for openmp)
4343
#ifdef WDutilsDevel
4444
#PROFLAGS := --coverage -fprofile-use -Wcoverage-mismatch

0 commit comments

Comments
 (0)