mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
enable/disable some warnings
disable warnings about old-style casts, unused results and literal suffix, since they are of little interest and mostly caused by external libraries (mpi, c/c++ standard libraries); enable 'uninitialized' warning for many2many lib since that one is indeed important;
This commit is contained in:
@ -2,6 +2,9 @@ EXE_INC = \
|
||||
-I$(LIB_SRC)/triSurface/lnInclude \
|
||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||
-Wno-old-style-cast \
|
||||
-Wno-unused-result \
|
||||
-Wno-literal-suffix
|
||||
|
||||
LIB_LIBS = \
|
||||
-lOpenFOAM \
|
||||
|
||||
@ -9,7 +9,6 @@ include $(CFDEM_ADD_LIBS_DIR)/additionalLibs
|
||||
EXE_INC = \
|
||||
$(PFLAGS) \
|
||||
$(PINC) \
|
||||
-I ./cfdemParticle \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||
-I$(LIB_SRC)/transportModels \
|
||||
-I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
|
||||
@ -19,6 +18,9 @@ EXE_INC = \
|
||||
-I$(CFDEM_LIGGGHTS_SRC_DIR) \
|
||||
-I$(CFDEM_M2MLIB_PATH) \
|
||||
-I$(CFDEM_SRC_DIR)/cfdTools \
|
||||
-Wno-old-style-cast \
|
||||
-Wno-unused-result \
|
||||
-Wno-literal-suffix
|
||||
|
||||
LIB_LIBS = \
|
||||
$(PLIBS) \
|
||||
|
||||
@ -6,7 +6,7 @@ SHELL = /bin/sh
|
||||
|
||||
CC = mpic++
|
||||
CCFLAGS = -O2 -fPIC \
|
||||
-funroll-loops -fstrict-aliasing -Wall -W -Wno-uninitialized
|
||||
-funroll-loops -fstrict-aliasing -Wall -Wextra -Wno-unused-result -Wno-literal-suffix
|
||||
DEPFLAGS = -M
|
||||
LINK = mpic++
|
||||
LINKFLAGS = -O -fPIC
|
||||
|
||||
@ -6,7 +6,7 @@ SHELL = /bin/sh
|
||||
|
||||
CC = mpic++
|
||||
CCFLAGS = -g -O2 -fPIC \
|
||||
-funroll-loops -fstrict-aliasing -Wall -W -Wno-uninitialized
|
||||
-funroll-loops -fstrict-aliasing -Wall -Wextra -Wno-unused-result -Wno-literal-suffix
|
||||
DEPFLAGS = -M
|
||||
LINK = mpic++
|
||||
LINKFLAGS = -O -fPIC
|
||||
|
||||
Reference in New Issue
Block a user