Remove C++11 which also simplifies Windows port

This commit is contained in:
Henrik Rusche 2018-06-14 08:06:57 +02:00
parent b23dfb3284
commit 88a815b7dd
3 changed files with 6 additions and 5 deletions

View file

@ -1,4 +1,4 @@
EXE_INC = -std=c++11 \
EXE_INC = \
-I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \

View file

@ -96,10 +96,10 @@ class sharedPoints
// Private Member Functions
//- Disallow default bitwise copy construct
sharedPoints(const sharedPoints&) = delete;
sharedPoints(const sharedPoints&);
//- Disallow default bitwise assignment
void operator=(const sharedPoints&) = delete;
void operator=(const sharedPoints&);
//- Calculate processor patch pairs
@ -127,7 +127,8 @@ public:
//- Destructor
~sharedPoints() = default;
~sharedPoints()
{}
// Member Functions

View file

@ -9,7 +9,7 @@ include $(RULES)/c++$(WM_COMPILE_OPTION)
ptFLAGS = -DNoRepository -ftemplate-depth-200
GFLAGS = -DWM_$(WM_PRECISION_OPTION) -DWM_LABEL_SIZE=$(WM_LABEL_SIZE)
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -I$(OPENMPI_DIR)/include -I$(WM_THIRD_PARTY_DIR)/packages/system/include -Dmingw -DBIG_ENDIAN=0 -DLITTLE_ENDIAN=1 -DBYTE_ORDER=BIG_ENDIAN -U__STRICT_ANSI__
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -I$(OPENMPI_DIR)/include -I$(WM_THIRD_PARTY_DIR)/packages/system/include -Dmingw -DBIG_ENDIAN=0 -DLITTLE_ENDIAN=1 -DBYTE_ORDER=BIG_ENDIAN
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
cxxtoo = $(Ctoo)