OCT ZNJK-1000 修改编译选项, 修正g++编译器低版本 nullptr 报错问题

This commit is contained in:
huangxin 2022-10-08 11:00:35 +08:00
parent dce161e6cd
commit 32c0881ace
1 changed files with 1 additions and 1 deletions

View File

@ -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})