diff --git a/applications/solvers/solidMechanics/utilities/smoothMesh/smoothMesh.C b/applications/solvers/solidMechanics/utilities/smoothMesh/smoothMesh.C index a290c78ac..c13d46a9e 100644 --- a/applications/solvers/solidMechanics/utilities/smoothMesh/smoothMesh.C +++ b/applications/solvers/solidMechanics/utilities/smoothMesh/smoothMesh.C @@ -32,6 +32,7 @@ Description #include "argList.H" #include "timeSelector.H" +#include "objectRegistry.H" #include "Time.H" #include "fvMesh.H" #include "boolList.H" diff --git a/etc/bashrc b/etc/bashrc index 691a410cf..eb4a349a6 100644 --- a/etc/bashrc +++ b/etc/bashrc @@ -118,7 +118,7 @@ done : ${WM_OSTYPE:=POSIX}; export WM_OSTYPE -# Compiler: set to Gcc, Gcc43 or Icc (for Intel's icc) +# Compiler: set to Gcc or Icc (for Intel's icc) # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : ${WM_COMPILER:=Gcc}; export WM_COMPILER @@ -219,6 +219,9 @@ Darwin) # this makes certain things easier export WM_ARCH_BASE=darwin + # Remove limit of open files + ulimit -n 1000 + case `uname -p` in powerpc) export WM_ARCH=darwinPpc @@ -324,12 +327,6 @@ Darwin) fi fi fi - if [ -z "$WM_CC" ] - then - # nobody set the compiler - export WM_CC="gcc" - export WM_CXX="g++" - fi ;; SunOS) diff --git a/etc/cshrc b/etc/cshrc index 2c2adc7ee..bcc6dd30b 100644 --- a/etc/cshrc +++ b/etc/cshrc @@ -208,6 +208,9 @@ case Darwin: # this makes certain things easier setenv WM_ARCH_BASE darwin + # Remove limit on number of open files + ulimit -n 1000 + switch (`uname -p`) case powerpc: setenv WM_ARCH darwinPpc diff --git a/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/convexSetAlgorithm/convexSetAlgorithm.C b/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/convexSetAlgorithm/convexSetAlgorithm.C index 22b028a5f..f7ae49a22 100644 --- a/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/convexSetAlgorithm/convexSetAlgorithm.C +++ b/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/convexSetAlgorithm/convexSetAlgorithm.C @@ -35,6 +35,7 @@ Author \*---------------------------------------------------------------------------*/ +#include "objectRegistry.H" #include "Time.H" #include "IOMap.H" #include "meshOps.H" diff --git a/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/dynamicTopoFvMeshReOrder.C b/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/dynamicTopoFvMeshReOrder.C index 2ca448140..7f5d5135c 100644 --- a/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/dynamicTopoFvMeshReOrder.C +++ b/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/dynamicTopoFvMeshReOrder.C @@ -25,6 +25,7 @@ License \*---------------------------------------------------------------------------*/ #include "objectMap.H" +#include "objectRegistry.H" #include "coupledInfo.H" #include "dynamicTopoFvMesh.H" diff --git a/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/edgeBisect.C b/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/edgeBisect.C index 5e7fed240..1c90538f4 100644 --- a/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/edgeBisect.C +++ b/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/edgeBisect.C @@ -25,6 +25,7 @@ License \*---------------------------------------------------------------------------*/ #include "Stack.H" +#include "objectRegistry.H" #include "triFace.H" #include "objectMap.H" #include "changeMap.H" diff --git a/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/edgeCollapse.C b/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/edgeCollapse.C index 0fac8a8c6..fd5e67e18 100644 --- a/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/edgeCollapse.C +++ b/src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/edgeCollapse.C @@ -25,6 +25,7 @@ License \*---------------------------------------------------------------------------*/ #include "Stack.H" +#include "objectRegistry.H" #include "triFace.H" #include "objectMap.H" #include "changeMap.H" diff --git a/src/solidModels/fvPatchFields/solidContact/solidContactFvPatchVectorField.C b/src/solidModels/fvPatchFields/solidContact/solidContactFvPatchVectorField.C index 5cc82a276..4f7de8a97 100644 --- a/src/solidModels/fvPatchFields/solidContact/solidContactFvPatchVectorField.C +++ b/src/solidModels/fvPatchFields/solidContact/solidContactFvPatchVectorField.C @@ -158,39 +158,61 @@ solidContactFvPatchVectorField::solidContactFvPatchVectorField slaveFaceZoneID_(patch().boundaryMesh().mesh().faceZones().findZoneID(slaveFaceZoneName_)), masterFaceZonePatchPtr_ ( - master_ ? - new PrimitivePatch + master_ ? + new PrimitivePatch + ( + patch().boundaryMesh().mesh().faceZones()[masterFaceZoneID_]() + .localFaces(), + patch().boundaryMesh().mesh().faceZones()[masterFaceZoneID_]() + .localPoints() + ) + : + NULL + ), + slaveFaceZonePatchPtr_ ( - patch().boundaryMesh().mesh().faceZones()[masterFaceZoneID_]().localFaces(), - patch().boundaryMesh().mesh().faceZones()[masterFaceZoneID_]().localPoints() - ) - : - NULL), - slaveFaceZonePatchPtr_ - ( - master_ ? - new PrimitivePatch + master_ ? + new PrimitivePatch + ( + patch().boundaryMesh().mesh().faceZones()[slaveFaceZoneID_]() + .localFaces(), + patch().boundaryMesh().mesh().faceZones()[slaveFaceZoneID_]() + .localPoints() + ) + : + NULL + ), + interpolationMethod_ ( - patch().boundaryMesh().mesh().faceZones()[slaveFaceZoneID_]().localFaces(), - patch().boundaryMesh().mesh().faceZones()[slaveFaceZoneID_]().localPoints() - ) - : - NULL), - interpolationMethod_( master_ ? dict.lookup("interpolationMethod") : word("interpolationMethodUndefinedForSlave")), - slaveToMasterPatchToPatchInterpolatorPtr_(NULL), - slaveToMasterGgiInterpolatorPtr_(NULL), - masterFaceZonePatchInterpolatorPtr_ - ( - master_ ? - new PrimitivePatchInterpolation< PrimitivePatch >(*masterFaceZonePatchPtr_) - : - NULL), - slaveFaceZonePatchInterpolatorPtr_ - ( - master_ ? - new PrimitivePatchInterpolation< PrimitivePatch >(*slaveFaceZonePatchPtr_) - : - NULL), + master_ ? + dict.lookup("interpolationMethod") + : + word("interpolationMethodUndefinedForSlave") + ), + slaveToMasterPatchToPatchInterpolatorPtr_(NULL), + slaveToMasterGgiInterpolatorPtr_(NULL), + masterFaceZonePatchInterpolatorPtr_ + ( + master_ + ? + new PrimitivePatchInterpolation + < + PrimitivePatch + >(*masterFaceZonePatchPtr_) + : + NULL + ), + slaveFaceZonePatchInterpolatorPtr_ + ( + master_ + ? + new PrimitivePatchInterpolation + < + PrimitivePatch + >(*slaveFaceZonePatchPtr_) + : + NULL + ), oldMasterFaceZonePoints_ ( master_ ? @@ -334,8 +356,8 @@ solidContactFvPatchVectorField::solidContactFvPatchVectorField slaveToMasterPatchToPatchInterpolatorPtr_ = new PatchToPatchInterpolation < - PrimitivePatch, - PrimitivePatch + PrimitivePatch, + PrimitivePatch > ( *slaveFaceZonePatchPtr_, // from zone @@ -349,7 +371,7 @@ solidContactFvPatchVectorField::solidContactFvPatchVectorField Info << "\tInterpolation of traction from slave to master: ggi" << endl; slaveToMasterGgiInterpolatorPtr_ = // new ggiZoneInterpolation - new GGIInterpolation< PrimitivePatch< face, List, pointField >, PrimitivePatch< face, List, pointField > > + new GGIInterpolation< PrimitivePatch< face, Foam::List, pointField >, PrimitivePatch< face, Foam::List, pointField > > ( // masterFaceZonePatch, // master zone // slaveFaceZonePatch, // slave zone @@ -964,7 +986,7 @@ void solidContactFvPatchVectorField::moveFaceZonePatches() // create new face zone patches with deformed points masterFaceZonePatchPtr_ = - new PrimitivePatch + new PrimitivePatch ( mesh.faceZones()[masterFaceZoneID_]().localFaces(), globalMasterNewPoints @@ -978,7 +1000,7 @@ void solidContactFvPatchVectorField::moveFaceZonePatches() // ); slaveFaceZonePatchPtr_ = - new PrimitivePatch + new PrimitivePatch ( mesh.faceZones()[slaveFaceZoneID_]().localFaces(), globalSlaveNewPoints @@ -1019,7 +1041,7 @@ void solidContactFvPatchVectorField::moveFaceZonePatches() { delete slaveToMasterPatchToPatchInterpolatorPtr_; slaveToMasterPatchToPatchInterpolatorPtr_ = - new PatchToPatchInterpolation, PrimitivePatch > + new PatchToPatchInterpolation, PrimitivePatch > ( *slaveFaceZonePatchPtr_, // from zone *masterFaceZonePatchPtr_, // to zone @@ -1031,7 +1053,7 @@ void solidContactFvPatchVectorField::moveFaceZonePatches() { delete slaveToMasterGgiInterpolatorPtr_; slaveToMasterGgiInterpolatorPtr_ = - new GGIInterpolation< PrimitivePatch< face, List, pointField >, PrimitivePatch< face, List, pointField > > + new GGIInterpolation< PrimitivePatch< face, Foam::List, pointField >, PrimitivePatch< face, Foam::List, pointField > > ( *masterFaceZonePatchPtr_, // master zone *slaveFaceZonePatchPtr_, // slave zone @@ -1048,10 +1070,10 @@ void solidContactFvPatchVectorField::moveFaceZonePatches() // and primitive patch interpolators delete masterFaceZonePatchInterpolatorPtr_; masterFaceZonePatchInterpolatorPtr_ = - new PrimitivePatchInterpolation< PrimitivePatch >(*masterFaceZonePatchPtr_); + new PrimitivePatchInterpolation< PrimitivePatch >(*masterFaceZonePatchPtr_); delete slaveFaceZonePatchInterpolatorPtr_; slaveFaceZonePatchInterpolatorPtr_ = - new PrimitivePatchInterpolation< PrimitivePatch >(*slaveFaceZonePatchPtr_); + new PrimitivePatchInterpolation< PrimitivePatch >(*slaveFaceZonePatchPtr_); // Also maybe I should correct motion for 2D models // OK for now diff --git a/src/solidModels/fvPatchFields/solidContact/solidContactFvPatchVectorField.H b/src/solidModels/fvPatchFields/solidContact/solidContactFvPatchVectorField.H index f4467a9be..3aae191e8 100644 --- a/src/solidModels/fvPatchFields/solidContact/solidContactFvPatchVectorField.H +++ b/src/solidModels/fvPatchFields/solidContact/solidContactFvPatchVectorField.H @@ -108,31 +108,31 @@ class solidContactFvPatchVectorField // pointField slaveFaceZonePatchPoints_; // faceList masterFaceZonePatchFaces_; // faceList slaveFaceZonePatchFaces_; - // PrimitivePatch* masterFaceZonePatchPtr_; - // PrimitivePatch* slaveFaceZonePatchPtr_; + // PrimitivePatch* masterFaceZonePatchPtr_; + // PrimitivePatch* slaveFaceZonePatchPtr_; // these patches keep a local copy of the points and faces - PrimitivePatch* masterFaceZonePatchPtr_; - PrimitivePatch* slaveFaceZonePatchPtr_; + PrimitivePatch* masterFaceZonePatchPtr_; + PrimitivePatch* slaveFaceZonePatchPtr_; // method to interpolate traction from slave to master word interpolationMethod_; //- zoneToZone or ggiZone for interpolation of traction from slave to master //zoneToZoneInterpolation* slaveToMasterPatchToPatchInterpolatorPtr_; - PatchToPatchInterpolation< PrimitivePatch, - PrimitivePatch + PatchToPatchInterpolation< PrimitivePatch, + PrimitivePatch >* slaveToMasterPatchToPatchInterpolatorPtr_; // we call it slaveToMasterGgi but it can interpolate either direction // ggiZoneInterpolation* slaveToMasterGgiInterpolatorPtr_; - GGIInterpolation< PrimitivePatch< face, List, pointField >, - PrimitivePatch< face, List, pointField > + GGIInterpolation< PrimitivePatch< face, Foam::List, pointField >, + PrimitivePatch< face, Foam::List, pointField > >* slaveToMasterGgiInterpolatorPtr_; // To interpolate value for the face zone patch faces to vertices // and vice versa - PrimitivePatchInterpolation< PrimitivePatch + PrimitivePatchInterpolation< PrimitivePatch >* masterFaceZonePatchInterpolatorPtr_; - PrimitivePatchInterpolation< PrimitivePatch + PrimitivePatchInterpolation< PrimitivePatch >* slaveFaceZonePatchInterpolatorPtr_; //- old face zone points @@ -273,32 +273,38 @@ public: } //- Return masterFaceZonePatch pointer - PrimitivePatch* masterFaceZonePatchPtr() const + PrimitivePatch* + masterFaceZonePatchPtr() const { return masterFaceZonePatchPtr_; } //- Return masterFaceZonePatch pointer - PrimitivePatch* slaveFaceZonePatchPtr() const + PrimitivePatch* + slaveFaceZonePatchPtr() const { return slaveFaceZonePatchPtr_; } //- Return patchToPatch interpolator pointer - PatchToPatchInterpolation< PrimitivePatch, - PrimitivePatch - >* slaveToMasterPatchToPatchInterpolatorPtr() const - { - return slaveToMasterPatchToPatchInterpolatorPtr_; - } + PatchToPatchInterpolation + < + PrimitivePatch, + PrimitivePatch + >* slaveToMasterPatchToPatchInterpolatorPtr() const + { + return slaveToMasterPatchToPatchInterpolatorPtr_; + } //- Return GGI interpolator pointer - GGIInterpolation< PrimitivePatch< face, List, pointField >, - PrimitivePatch< face, List, pointField > - >* slaveToMasterGgiInterpolatorPtr() const - { - return slaveToMasterGgiInterpolatorPtr_; - } + GGIInterpolation + < + PrimitivePatch< face, Foam::List, pointField >, + PrimitivePatch< face, Foam::List, pointField > + >* slaveToMasterGgiInterpolatorPtr() const + { + return slaveToMasterGgiInterpolatorPtr_; + } //- Return correction frequency label correctionFreq() const @@ -365,13 +371,13 @@ public: // Return const reference to stickSlipField const scalarField& stickSlipField() const { - if(!stickSlipFieldPtr_) + if (!stickSlipFieldPtr_) { FatalError << "solidContact::stickSlipField() pointer" << " is NULL" << exit(FatalError); } - return stickSlipFieldPtr_->boundaryField()[patch().index()]; + return stickSlipFieldPtr_->boundaryField()[patch().index()]; } //- Write diff --git a/wmake/rules/darwinIntel64/ARCHITECTURE_TESTED b/wmake/rules/darwinIntel64/ARCHITECTURE_TESTED deleted file mode 100644 index e7c190c0c..000000000 --- a/wmake/rules/darwinIntel64/ARCHITECTURE_TESTED +++ /dev/null @@ -1 +0,0 @@ -by bgschaid. 2010-10-05 diff --git a/wmake/rules/darwinIntel64/X b/wmake/rules/darwinIntel64/X deleted file mode 100644 index bed8bfedd..000000000 --- a/wmake/rules/darwinIntel64/X +++ /dev/null @@ -1,3 +0,0 @@ -XFLAGS = -XINC = $(XFLAGS) -I/usr/X11R6/include -XLIBS = -L/usr/X11R6/lib -lXext -lX11 diff --git a/wmake/rules/darwinIntel64/c b/wmake/rules/darwinIntel64/c deleted file mode 100644 index 7d81ffc19..000000000 --- a/wmake/rules/darwinIntel64/c +++ /dev/null @@ -1,16 +0,0 @@ -.SUFFIXES: .c .h - -cWARN = -Wall - -cc = $(WM_CC) $(WM_CXXFLAGS) - -include $(RULES)/c$(WM_COMPILE_OPTION) - -cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC -Ddarwin - -ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ - -LINK_LIBS = $(cDBUG) - -LINKLIBSO = $(cc) -dynamiclib -flat_namespace -undefined suppress -LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs diff --git a/wmake/rules/darwinIntel64/c++ b/wmake/rules/darwinIntel64/c++ deleted file mode 100644 index b705ae3a2..000000000 --- a/wmake/rules/darwinIntel64/c++ +++ /dev/null @@ -1,22 +0,0 @@ -.SUFFIXES: .C .cxx .cc .cpp - -c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wno-overloaded-virtual -Wno-unsequenced -Wno-c++11-extensions -Wno-unused-comparison - -CC = $(WM_CXX) $(WM_CXXFLAGS) - -include $(RULES)/c++$(WM_COMPILE_OPTION) - -ptFLAGS = -DNoRepository -ftemplate-depth-200 - -c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC -Ddarwin - -Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ -cxxtoo = $(Ctoo) -cctoo = $(Ctoo) -cpptoo = $(Ctoo) - -LINK_LIBS = $(c++DBUG) -lpthread - -LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup -# LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN) -lOpenFOAM -L$(FOAM_MPI_LIBBIN) -lPstream -LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_MPI_LIBBIN) -lPstream diff --git a/wmake/rules/darwinIntel64/c++Debug b/wmake/rules/darwinIntel64/c++Debug deleted file mode 100644 index 684957e11..000000000 --- a/wmake/rules/darwinIntel64/c++Debug +++ /dev/null @@ -1,2 +0,0 @@ -c++DBUG = -ggdb2 -DFULLDEBUG -c++OPT = -O0 -fdefault-inline diff --git a/wmake/rules/darwinIntel64/c++Opt b/wmake/rules/darwinIntel64/c++Opt deleted file mode 100644 index 3446f7f58..000000000 --- a/wmake/rules/darwinIntel64/c++Opt +++ /dev/null @@ -1,4 +0,0 @@ -c++DBUG = -c++OPT = -O3 -#c++OPT = -march=nocona -O3 -# -ftree-vectorize -ftree-vectorizer-verbose=3 diff --git a/wmake/rules/darwinIntel64/c++Prof b/wmake/rules/darwinIntel64/c++Prof deleted file mode 100644 index 3bda4dad5..000000000 --- a/wmake/rules/darwinIntel64/c++Prof +++ /dev/null @@ -1,2 +0,0 @@ -c++DBUG = -pg -c++OPT = -O2 diff --git a/wmake/rules/darwinIntel64/cDebug b/wmake/rules/darwinIntel64/cDebug deleted file mode 100644 index 72b638f45..000000000 --- a/wmake/rules/darwinIntel64/cDebug +++ /dev/null @@ -1,2 +0,0 @@ -cDBUG = -ggdb -DFULLDEBUG -cOPT = -O1 -fdefault-inline -finline-functions diff --git a/wmake/rules/darwinIntel64/cOpt b/wmake/rules/darwinIntel64/cOpt deleted file mode 100644 index 17318709f..000000000 --- a/wmake/rules/darwinIntel64/cOpt +++ /dev/null @@ -1,2 +0,0 @@ -cDBUG = -cOPT = -O3 diff --git a/wmake/rules/darwinIntel64/cProf b/wmake/rules/darwinIntel64/cProf deleted file mode 100644 index ca3ac9bf5..000000000 --- a/wmake/rules/darwinIntel64/cProf +++ /dev/null @@ -1,2 +0,0 @@ -cDBUG = -pg -cOPT = -O2 diff --git a/wmake/rules/darwinIntel64/general b/wmake/rules/darwinIntel64/general deleted file mode 100644 index a69a25f37..000000000 --- a/wmake/rules/darwinIntel64/general +++ /dev/null @@ -1,10 +0,0 @@ -CPP = cpp $(GFLAGS) -LD = ld - -PROJECT_LIBS = -l$(WM_PROJECT) - -include $(GENERAL_RULES)/standard - -include $(RULES)/X -include $(RULES)/c -include $(RULES)/c++ diff --git a/wmake/rules/darwinIntel64/mplib b/wmake/rules/darwinIntel64/mplib deleted file mode 100644 index 294bd8615..000000000 --- a/wmake/rules/darwinIntel64/mplib +++ /dev/null @@ -1,3 +0,0 @@ -PFLAGS = -PINC = -PLIBS = diff --git a/wmake/rules/darwinIntel64/mplibMACPORTOPENMPI b/wmake/rules/darwinIntel64/mplibMACPORTOPENMPI deleted file mode 100644 index aaa50f9f5..000000000 --- a/wmake/rules/darwinIntel64/mplibMACPORTOPENMPI +++ /dev/null @@ -1,3 +0,0 @@ -PFLAGS = -DOMPI_SKIP_MPICXX -PINC = -I$(MPI_ARCH_PATH)/include/openmpi -PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi diff --git a/wmake/rules/darwinIntel64/mplibOPENMPI b/wmake/rules/darwinIntel64/mplibOPENMPI deleted file mode 100644 index 834d2d3e2..000000000 --- a/wmake/rules/darwinIntel64/mplibOPENMPI +++ /dev/null @@ -1,3 +0,0 @@ -PFLAGS = -DOMPI_SKIP_MPICXX -PINC = -I$(MPI_ARCH_PATH)/include -PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi diff --git a/wmake/rules/darwinIntel64/mplibSYSTEMOPENMPI b/wmake/rules/darwinIntel64/mplibSYSTEMOPENMPI deleted file mode 100644 index 98fa814ce..000000000 --- a/wmake/rules/darwinIntel64/mplibSYSTEMOPENMPI +++ /dev/null @@ -1 +0,0 @@ -PFLAGS = -DOMPI_SKIP_MPICXX diff --git a/wmake/rules/darwinIntel64Gcc/c++ b/wmake/rules/darwinIntel64Gcc/c++ index 27b66c29e..b705ae3a2 100644 --- a/wmake/rules/darwinIntel64Gcc/c++ +++ b/wmake/rules/darwinIntel64Gcc/c++ @@ -1,6 +1,6 @@ .SUFFIXES: .C .cxx .cc .cpp -c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast +c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wno-overloaded-virtual -Wno-unsequenced -Wno-c++11-extensions -Wno-unused-comparison CC = $(WM_CXX) $(WM_CXXFLAGS)