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:
2025-03-01 03:03:25 -05:00
parent 3a474cb68e
commit 396b5fc2a6
52 changed files with 165 additions and 166 deletions

View File

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