Skip to content

Commit

Permalink
add -Wno-deprecated-copy to options
Browse files Browse the repository at this point in the history
to silence warnings stemming from OpenFOAM in g++ 9
  • Loading branch information
danielque committed Mar 12, 2021
1 parent affa8b1 commit 4ebd073
Show file tree
Hide file tree
Showing 21 changed files with 28 additions and 9 deletions.
3 changes: 2 additions & 1 deletion applications/solvers/cfdemSolverIB/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ EXE_INC = \
-I$(LIB_SRC)/dynamicMesh/lnInclude \
-I$(LIB_SRC)/dynamicMesh/dynamicFvMesh/lnInclude \
-I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude \
-I$(LIB_SRC)/fvOptions/lnInclude
-I$(LIB_SRC)/fvOptions/lnInclude \
-Wno-deprecated-copy

EXE_LIBS = \
-L$(CFDEM_LIB_DIR)\
Expand Down
1 change: 1 addition & 0 deletions applications/solvers/cfdemSolverMultiphase/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ EXE_INC = \
-I$(LIB_SRC)/sampling/lnInclude \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/lnInclude \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/cfdTools \
-Wno-deprecated-copy

EXE_LIBS = \
-L$(CFDEM_LIB_DIR)\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ EXE_INC = \
-I$(LIB_SRC)/transportModels/incompressible/lnInclude \
-I$(LIB_SRC)/transportModels/interfaceProperties/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude
-I$(LIB_SRC)/meshTools/lnInclude \
-Wno-deprecated-copy

LIB_LIBS = \
-linterfaceProperties \
Expand Down
1 change: 1 addition & 0 deletions applications/solvers/cfdemSolverPiso/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ EXE_INC = \
-I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/lnInclude \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/cfdTools \
-Wno-deprecated-copy

EXE_LIBS = \
-L$(CFDEM_LIB_DIR)\
Expand Down
1 change: 1 addition & 0 deletions applications/solvers/cfdemSolverPisoMS/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ EXE_INC = \
-I$(LIB_SRC)/transportModels \
-I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/cfdTools \
-Wno-deprecated-copy

EXE_LIBS = \
-L$(CFDEM_LIB_DIR)\
Expand Down
1 change: 1 addition & 0 deletions applications/solvers/cfdemSolverPisoScalar/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ EXE_INC = \
-I../cfdemSolverPiso \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/lnInclude \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/cfdTools \
-Wno-deprecated-copy

EXE_LIBS = \
-L$(CFDEM_LIB_DIR)\
Expand Down
1 change: 1 addition & 0 deletions applications/solvers/cfdemSolverRhoPimple/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ EXE_INC = \
-I$(LIB_SRC)/sampling/lnInclude \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/lnInclude \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/cfdTools \
-Wno-deprecated-copy

EXE_LIBS = \
-L$(CFDEM_LIB_DIR)\
Expand Down
3 changes: 1 addition & 2 deletions applications/solvers/cfdemSolverRhoPimpleChem/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ EXE_INC = \
-I$(LIB_SRC)/ODE/lnInclude \
-I$(LIB_SRC)/combustionModels/lnInclude \
-I$(FOAM_SOLVERS)/combustion/reactingFoam \


-Wno-deprecated-copy


EXE_LIBS = \
Expand Down
1 change: 1 addition & 0 deletions applications/solvers/rStatAnalysis/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ EXE_INC = \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/cfdTools \
-I$(CFDEM_SRC_DIR)/recurrence/lnInclude \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/derived/cfdemCloudRec \
-Wno-deprecated-copy

EXE_LIBS = \
-L$(CFDEM_LIB_DIR)\
Expand Down
1 change: 1 addition & 0 deletions applications/solvers/rcfdemSolverBase/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ EXE_INC = \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/cfdTools \
-I$(CFDEM_SRC_DIR)/recurrence/lnInclude \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/derived/cfdemCloudRec \
-Wno-deprecated-copy

EXE_LIBS = \
-L$(CFDEM_LIB_DIR)\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ EXE_INC = \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/cfdTools \
-I$(CFDEM_SRC_DIR)/recurrence/lnInclude \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/derived/cfdemCloudRec \
-Wno-deprecated-copy

EXE_LIBS = \
-L$(CFDEM_LIB_DIR)\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ EXE_INC = \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/lnInclude \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/cfdTools \
-I$(CFDEM_SRC_DIR)/recurrence/lnInclude \
-Wno-deprecated-copy

EXE_LIBS = \
-L$(CFDEM_LIB_DIR)\
Expand Down
1 change: 1 addition & 0 deletions applications/solvers/rtfmSolverSpecies/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ EXE_INC = \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/cfdTools \
-I$(CFDEM_SRC_DIR)/recurrence/lnInclude \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/derived/cfdemCloudRec \
-Wno-deprecated-copy

EXE_LIBS = \
-L$(CFDEM_LIB_DIR)\
Expand Down
1 change: 1 addition & 0 deletions applications/utilities/cfdemPostproc/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(CFDEM_SRC_DIR)/lagrangian/cfdemParticle/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-Wno-deprecated-copy


EXE_LIBS = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/sampling/lnInclude \
-I$(LIB_SRC)/fvOptions/lnInclude
-I$(LIB_SRC)/fvOptions/lnInclude \
-Wno-deprecated-copy

EXE_LIBS = \
-lfiniteVolume \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/sampling/lnInclude \
-I$(LIB_SRC)/fvOptions/lnInclude
-I$(LIB_SRC)/fvOptions/lnInclude \
-Wno-deprecated-copy

EXE_LIBS = \
-lfiniteVolume \
Expand Down
1 change: 1 addition & 0 deletions applications/utilities/rSmoother/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(CFDEM_SRC_DIR)/recurrence/lnInclude \
-Wno-deprecated-copy

EXE_LIBS = \
-L$(CFDEM_LIB_DIR)\
Expand Down
3 changes: 2 additions & 1 deletion src/finiteVolume/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-Wno-old-style-cast \
-Wno-unused-result \
-Wno-literal-suffix
-Wno-literal-suffix \
-Wno-deprecated-copy

LIB_LIBS = \
-lOpenFOAM \
Expand Down
3 changes: 2 additions & 1 deletion src/lagrangian/cfdemParticle/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ EXE_INC = \
-I$(CFDEM_SRC_DIR)/cfdTools \
-Wno-old-style-cast \
-Wno-unused-result \
-Wno-literal-suffix
-Wno-literal-suffix \
-Wno-deprecated-copy


LIB_LIBS = \
Expand Down
3 changes: 2 additions & 1 deletion src/lagrangian/cfdemParticleComp/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ EXE_INC = \
-I$(CFDEM_SRC_DIR)/cfdTools \
-Wno-old-style-cast \
-Wno-unused-result \
-Wno-literal-suffix
-Wno-literal-suffix \
-Wno-deprecated-copy

LIB_LIBS = \
$(PLIBS) \
Expand Down
1 change: 1 addition & 0 deletions src/recurrence/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ EXE_INC = \
-I$(CFDEM_LIGGGHTS_SRC_DIR) \
-I$(CFDEM_M2MLIB_PATH) \
-I$(CFDEM_SRC_DIR)/cfdTools \
-Wno-deprecated-copy


LIB_LIBS = \
Expand Down

0 comments on commit 4ebd073

Please sign in to comment.