[port]: disabled flex++ warnings during foam compile.

This commit is contained in:
Danial Khazaei 2019-07-08 19:34:33 +04:30
parent 69192ae1f4
commit 314069356e
No known key found for this signature in database
GPG key ID: 8389A6DEEC8D5025
16 changed files with 47 additions and 2 deletions

View file

@ -2,8 +2,8 @@
# For older versions of flex, the option --c++ is not avaliable # For older versions of flex, the option --c++ is not avaliable
# Switching to flex++ is an alternative # Switching to flex++ is an alternative
#Ltoo = flex++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ #Ltoo = flex++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) $(c++LESSWARN) -c $*.C -o $@
Ltoo = flex -+ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ Ltoo = flex -+ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) $(c++LESSWARN) -c $*.C -o $@
.L.dep: .L.dep:
$(MAKE_DEP) $(MAKE_DEP)

View file

@ -2,6 +2,9 @@
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
CC = g++ -mabi=64 CC = g++ -mabi=64
#CC = scg++ -mabi=64 #CC = scg++ -mabi=64

View file

@ -2,6 +2,9 @@
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
CC = g++ -m64 CC = g++ -m64
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
CC = g++ -std=c++11 -m64 CC = g++ -std=c++11 -m64
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -wd327,584,654,819,1125,1476,1505,1572 c++WARN = -wd327,584,654,819,1125,1476,1505,1572
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -diag-disable 1224,2026,2305
CC = icpc -DIntel CC = icpc -DIntel
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
CC = g++ -std=c++11 CC = g++ -std=c++11
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wno-undefined-var-template -Wno-deprecated-register -Wno-overloaded-virtual -Wno-null-dereference c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wno-undefined-var-template -Wno-deprecated-register -Wno-overloaded-virtual -Wno-null-dereference
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
CC = armclang++ -std=c++11 -DARM_CLANG CC = armclang++ -std=c++11 -DARM_CLANG
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
CC = g++ -std=c++11 CC = g++ -std=c++11
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
CC = g++ -std=c++11 -m32 CC = g++ -std=c++11 -m32
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
CC = g++ -std=c++11 CC = g++ -std=c++11
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -wd654,819,1125,1476,1505,1572 c++WARN = -wd654,819,1125,1476,1505,1572
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -diag-disable 1224,2026,2305
CC = icpc -DIntel CC = icpc -DIntel
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -wd327,654,819,1125,1476,1505,1572 c++WARN = -wd327,654,819,1125,1476,1505,1572
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -diag-disable 1224,2026,2305
CC = icpc CC = icpc
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -wd654 -wd1125 -vec-report0 c++WARN = -wd654 -wd1125 -vec-report0
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -diag-disable 1224,2026,2305
CC = icpc -DIntel CC = icpc -DIntel
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
CC = g++ -std=c++11 -m64 -mcpu=power5+ CC = g++ -std=c++11 -m64 -mcpu=power5+
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
CC = g++ -std=c++11 CC = g++ -std=c++11
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)

View file

@ -2,6 +2,9 @@
c++WARN = -Wall -Wextra -Wno-unused-parameter c++WARN = -Wall -Wextra -Wno-unused-parameter
# Suppress some warnings for flex++ and CGAL
c++LESSWARN =
CC = g++ -std=c++11 CC = g++ -std=c++11
include $(RULES)/c++$(WM_COMPILE_OPTION) include $(RULES)/c++$(WM_COMPILE_OPTION)