From 32c0881aceb62e9adc1e102701a7d282be5f9160 Mon Sep 17 00:00:00 2001 From: huangxin Date: Sat, 8 Oct 2022 11:00:35 +0800 Subject: [PATCH] =?UTF-8?q?OCT=20ZNJK-1000=20=E4=BF=AE=E6=94=B9=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=80=89=E9=A1=B9,=20=E4=BF=AE=E6=AD=A3g++=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=99=A8=E4=BD=8E=E7=89=88=E6=9C=AC=20nullptr=20?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- srcs/open_dhcp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcs/open_dhcp/CMakeLists.txt b/srcs/open_dhcp/CMakeLists.txt index 6b34cbc..c4a12c0 100644 --- a/srcs/open_dhcp/CMakeLists.txt +++ b/srcs/open_dhcp/CMakeLists.txt @@ -6,7 +6,7 @@ INCLUDE_DIRECTORIES(../libs/include ./) FILE(GLOB DHCPD_HEADS ./*.h) -ADD_DEFINITIONS(-Wno-format-overflow) +ADD_DEFINITIONS(-Wno-format-overflow -std=c++11) #ADD_EXECUTABLE(${PROJECT_TARGET} opendhcpd.cpp ${DHCPD_HEADS}) ADD_LIBRARY(${DHCPD_PROJECT_TARGET} opendhcpd.cpp ${DHCPD_HEADS})