提交 dc129757 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Use c++14

上级 993bce05
...@@ -58,7 +58,6 @@ DEP_SOURCES += ./deps/netstring-c/netstring.cpp ...@@ -58,7 +58,6 @@ DEP_SOURCES += ./deps/netstring-c/netstring.cpp
DEP_HEADERS_DIRS := DEP_HEADERS_DIRS :=
DEP_HEADERS_DIRS += ./submodules/jsoncpp/dist DEP_HEADERS_DIRS += ./submodules/jsoncpp/dist
DEP_HEADERS_DIRS += ./submodules/usrsctp/usrsctplib DEP_HEADERS_DIRS += ./submodules/usrsctp/usrsctplib
DEP_HEADERS_DIRS += ./submodules/picojson
DEP_HEADERS_DIRS += ./deps/netstring-c DEP_HEADERS_DIRS += ./deps/netstring-c
# Dependencies static libraries to link with. # Dependencies static libraries to link with.
...@@ -77,7 +76,7 @@ CPPFLAGS += $(shell pkg-config --cflags "$(PKG_LIBS)") ...@@ -77,7 +76,7 @@ CPPFLAGS += $(shell pkg-config --cflags "$(PKG_LIBS)")
# CXXFLAGS gives a list of flags that should be passed to the C++ compiler (use # CXXFLAGS gives a list of flags that should be passed to the C++ compiler (use
# this, for example, to set the version of the C++ language, to specify the # this, for example, to set the version of the C++ language, to specify the
# warning settings, or for other options specific to the C++ compiler). # warning settings, or for other options specific to the C++ compiler).
CXXFLAGS += -std=c++11 -Wall $(DEV_FLAGS) CXXFLAGS += -std=c++14 -Wall $(DEV_FLAGS)
# LDFLAGS are used when linking, this will cause the appropriate flags to # LDFLAGS are used when linking, this will cause the appropriate flags to
# be passed to the linker. # be passed to the linker.
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论