test it on Windows / Linux / macOS, all the Release buildings are failed.
ssrlive@ss:~/Desktop/gc/build$ cat ../CMakeLists.txt
cmake_minimum_required(VERSION 3.0)
project(gc C)
set(CMAKE_C_STANDARD 11)
include_directories(src)
include_directories(test)
add_executable(gc
src/gc.h
src/log.c
src/log.h
test/minunit.h
test/test_gc.c)
ssrlive@ss:~/Desktop/gc/build$ cmake .. -DCMAKE_BUILD_TYPE=Release
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ssrlive/Desktop/gc/build
ssrlive@ss:~/Desktop/gc/build$ make
[100%] Built target gc
ssrlive@ss:~/Desktop/gc/build$ ./gc
---=[ GC tests
Heap allocation referenced from stack should be tagged
Tests run: 5
test it on Windows / Linux / macOS, all the Release buildings are failed.