Skip to content

Commit 5936f26

Browse files
committed
Revert "Use C11 standard"
This reverts commit 5e22cda.
1 parent 5e22cda commit 5936f26

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

native/HBV/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ SRC_DIR = src
2929
CC_SERIAL = g++
3030

3131
#If profiling, add the -pg flag in the last line of these as well
32-
C_FLAGS = -O3 -DOUT_TO_SCREEN -DHBVMOD -DRANGER_MEMORY_TRICK -DSERIAL -lm -std=c++11
33-
C_FLAGS_DEBUG = -g -O0 -DOUT_TO_SCREEN -DHBVMOD -DRANGER_MEMORY_TRICK -DSERIAL -lm -std=c++11
32+
C_FLAGS = -O3 -DOUT_TO_SCREEN -DHBVMOD -DRANGER_MEMORY_TRICK -DSERIAL -lm
33+
C_FLAGS_DEBUG = -g -O0 -DOUT_TO_SCREEN -DHBVMOD -DRANGER_MEMORY_TRICK -DSERIAL -lm
3434

3535
ifeq ($(OS),Windows_NT)
3636
C_FLAGS += -static

native/LRGV/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CC = g++
22
TARGET = lrgv
33
SRC_DIR = src
44
SHARED_DIR = ../shared
5-
CFLAGS = -O3 -I$(SRC_DIR) -I$(SHARED_DIR) -std=c++11
5+
CFLAGS = -O3 -I$(SRC_DIR) -I$(SHARED_DIR)
66
LIBS =
77

88
ifeq ($(OS),Windows_NT)

native/LakeProblem/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CC = g++
22
SRC_DIR = src
33
SHARED_DIR = ../shared
44
TARGET = lake
5-
CFLAGS = -O3 -Wno-unused-local-typedefs -I$(SRC_DIR) -I$(SHARED_DIR) -I$(SRC_DIR)/boost_1_56_0 -std=c++11
5+
CFLAGS = -O3 -Wno-unused-local-typedefs -I$(SRC_DIR) -I$(SHARED_DIR) -I$(SRC_DIR)/boost_1_56_0
66
SOURCE = $(SRC_DIR)/main-lake.cpp $(SHARED_DIR)/moeaframework.c
77
LIBS =
88

native/Radar/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CC = gcc
22
SHARED_DIR = ../shared
3-
CFLAGS = -Wall -O3 -fPIC -std=c11
3+
CFLAGS = -Wall -O3 -fPIC
44
LIBS =
55

66
ifeq ($(OS),Windows_NT)

native/WDS/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CC = gcc
22
SRC_DIR = src
33
SHARED_DIR = ../shared
44
SOURCE = $(SRC_DIR)/main.c $(SRC_DIR)/models.c $(SHARED_DIR)/moeaframework.c
5-
CFLAGS = -I$(SRC_DIR)/epanet2 -I$(SHARED_DIR) -Lbin -lm -lepanet2 -Wl,-R,\. -std=c11
5+
CFLAGS = -I$(SRC_DIR)/epanet2 -I$(SHARED_DIR) -Lbin -lm -lepanet2 -Wl,-R,\.
66
LIBS =
77

88
ifeq ($(OS),Windows_NT)

0 commit comments

Comments
 (0)