Resolve various unimportant warning messages from Gcc, Clang and Icpc

This commit is contained in:
Henry Weller
2015-07-19 11:31:49 +01:00
parent 6555f605f0
commit 91e04d69c1
129 changed files with 409 additions and 260 deletions

View File

@ -12,7 +12,7 @@ EXE_INC = \
${CGAL_EXACT} \
${CGAL_INEXACT} \
${CGAL_INC} \
${c++CGALWARN} \
${c++LESSWARN} \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/parallel/decompose/decompositionMethods/lnInclude \

View File

@ -12,7 +12,7 @@ EXE_INC = \
${CGAL_EXACT} \
${CGAL_INEXACT} \
${CGAL_INC} \
${c++CGALWARN} \
${c++LESSWARN} \
-I../conformalVoronoiMesh/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \

View File

@ -7,7 +7,7 @@ EXE_INC = \
${ROUNDING_MATH} \
${EXE_NDEBUG} \
${CGAL_INC} \
${c++CGALWARN} \
${c++LESSWARN} \
-I$(FOAM_APP)/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/lnInclude \
-I../conformalVoronoi2DMesh/lnInclude \
-I../conformalVoronoiMesh/lnInclude \

View File

@ -51,7 +51,6 @@ Description
#include "zoltanRenumber.H"
#endif
using namespace Foam;
@ -635,14 +634,12 @@ int main(int argc, char *argv[])
"calculate the rms of the frontwidth"
);
// Force linker to include zoltan symbols. This section is only needed since
// Zoltan is a static library
#ifdef FOAM_USE_ZOLTAN
// Force linker to include zoltan symbols. This section is only needed since
// Zoltan is a static library
#ifdef FOAM_USE_ZOLTAN
Info<< "renumberMesh built with zoltan support." << nl << endl;
(void)zoltanRenumber::typeName;
#endif
#endif
#include "setRootCase.H"
#include "createTime.H"
@ -651,7 +648,7 @@ int main(int argc, char *argv[])
// Get times list
instantList Times = runTime.times();
// set startTime and endTime depending on -time and -latestTime options
// Set startTime and endTime depending on -time and -latestTime options
#include "checkTimeOptions.H"
runTime.setTime(Times[startTime], startTime);
@ -686,7 +683,7 @@ int main(int argc, char *argv[])
sumSqrIntersect,
sumOp<scalar>()
)
/ mesh.globalData().nTotalCells()
/mesh.globalData().nTotalCells()
);
Info<< "Mesh size: " << mesh.globalData().nTotalCells() << nl