This is a major lift into C++.
Much of the code is now building in C++, and I'm using C++23. A spot test seems to work. Now I can start to debride all the painful memory management quirks...
This commit is contained in:
@ -651,6 +651,7 @@ if test "x$enable_cookies" = "xno" ; then
|
||||
fi
|
||||
if test "x$enable_ipv6" = "xyes" ; then
|
||||
CFLAGS="$CFLAGS -DENABLE_IPV6"
|
||||
CXXFLAGS="$CXXFLAGS -DENABLE_IPV6"
|
||||
fi
|
||||
if test "x$enable_efence" = "xyes" ; then
|
||||
LIBS="-lefence $LIBS"
|
||||
@ -708,7 +709,7 @@ dnl -----------
|
||||
dnl
|
||||
|
||||
if eval "test x$GCC = xyes"; then
|
||||
CXXFLAGS="$CXXFLAGS -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -pedantic -D_POSIX_C_SOURCE=200112L"
|
||||
CXXFLAGS="$CXXFLAGS -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -pedantic -D_POSIX_C_SOURCE=200112L -std=c++23"
|
||||
fi
|
||||
|
||||
dnl ----------------------------------
|
||||
|
||||
Reference in New Issue
Block a user