1
jan.koester@intranet.tuxist.de@dibsi-debian:~/Projects/libhtmlpp/build$ cmake ../ -DCMAKE_CXX_FLAGS=" -fsanitize=address,undefined -D_GLIBCXX_DEBUG"
CMake Warning (dev) at CMakeLists.txt:1 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The CXX compiler identification is GNU 14.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Configuring done (0.8s)
-- Generating done (0.1s)
-- Build files have been written to: /home/intranet.tuxist.de/jan.koester/Projects/libhtmlpp/build
jan.koester@intranet.tuxist.de@dibsi-debian:~/Projects/libhtmlpp/build$ make
[  5%] Building CXX object src/CMakeFiles/htmlpp.dir/css.cpp.o
[ 11%] Building CXX object src/CMakeFiles/htmlpp.dir/html.cpp.o
/home/intranet.tuxist.de/jan.koester/Projects/libhtmlpp/src/html.cpp: In member function ‘void libhtmlpp::HtmlTable::Row::clear()’:
/home/intranet.tuxist.de/jan.koester/Projects/libhtmlpp/src/html.cpp:1991:33: warning: variable ‘ccurel’ set but not used [-Wunused-but-set-variable]
 1991 |     Column *cnext=_firstColumn,*ccurel=nullptr;
      |                                 ^~~~~~
[ 16%] Building CXX object src/CMakeFiles/htmlpp.dir/request.cpp.o
[ 22%] Building CXX object src/CMakeFiles/htmlpp.dir/exception.cpp.o
[ 27%] Linking CXX shared library libhtmlpp.so
[ 27%] Built target htmlpp
[ 33%] Building CXX object src/CMakeFiles/htmlpp-static.dir/css.cpp.o
[ 38%] Building CXX object src/CMakeFiles/htmlpp-static.dir/html.cpp.o
/home/intranet.tuxist.de/jan.koester/Projects/libhtmlpp/src/html.cpp: In member function ‘void libhtmlpp::HtmlTable::Row::clear()’:
/home/intranet.tuxist.de/jan.koester/Projects/libhtmlpp/src/html.cpp:1991:33: warning: variable ‘ccurel’ set but not used [-Wunused-but-set-variable]
 1991 |     Column *cnext=_firstColumn,*ccurel=nullptr;
      |                                 ^~~~~~
[ 44%] Building CXX object src/CMakeFiles/htmlpp-static.dir/request.cpp.o
[ 50%] Building CXX object src/CMakeFiles/htmlpp-static.dir/exception.cpp.o
[ 55%] Linking CXX static library libhtmlpp-static.a
[ 55%] Built target htmlpp-static
[ 61%] Building CXX object test/CMakeFiles/csstest.dir/csstest.cpp.o
[ 66%] Linking CXX executable csstest
[ 66%] Built target csstest
[ 72%] Building CXX object test/CMakeFiles/htmlpagetest.dir/htmlpagetest.cpp.o
[ 77%] Linking CXX executable htmlpagetest
[ 77%] Built target htmlpagetest
[ 83%] Building CXX object test/CMakeFiles/htmlcopytest.dir/htmlcopytest.cpp.o
[ 88%] Linking CXX executable htmlcopytest
[ 88%] Built target htmlcopytest
[ 94%] Building CXX object test/CMakeFiles/htmlinserttest.dir/htmlinserttest.cpp.o
[100%] Linking CXX executable htmlinserttest
[100%] Built target htmlinserttest
jan.koester@intranet.tuxist.de@dibsi-debian:~/Projects/libhtmlpp/build$ valgrind ./test/htmlpagetest ../test/htmlfiles/right.html 
==2410292== Memcheck, a memory error detector
==2410292== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==2410292== Using Valgrind-3.24.0 and LibVEX; rerun with -h for copyright info
==2410292== Command: ./test/htmlpagetest ../test/htmlfiles/right.html
==2410292== 
head
body
test<!DOCTYPE html>
<html lang="en"></html>
test
<!DOCTYPE html>
<html lang="en"></html>

Test Passed!
Is Html 5 Document
==2410292== 
==2410292== HEAP SUMMARY:
==2410292==     in use at exit: 0 bytes in 0 blocks
==2410292==   total heap usage: 355 allocs, 355 frees, 93,153 bytes allocated
==2410292== 
==2410292== All heap blocks were freed -- no leaks are possible
==2410292== 
==2410292== For lists of detected and suppressed errors, rerun with: -s
==2410292== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
[email protected]@dibsi-debian:~/Projects/libhtmlpp/build$ 

For immediate assistance, please email our customer support: [email protected]

Download RAW File