Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ endif()
# set language for source files now
if(MI_USE_CXX)
set_source_files_properties(${mi_sources} PROPERTIES LANGUAGE CXX )
set_source_files_properties(test/test-diagnostic-walks.c test/test-snapshot-walk.c PROPERTIES LANGUAGE CXX)
set_source_files_properties(test/test-diagnostic-walks.c test/test-snapshot-walk.c test/test-fork-locks.c PROPERTIES LANGUAGE CXX)
# #272 (P7b): test-purge-holes.c and test-profile-race.c reach `mimalloc/internal.h`
# (`_mi_ptr_page`, `mi_page_block_is_purged`, `_mi_os_page_size`, ...), which is NOT wrapped
# in `extern "C"`. With MI_USE_CXX the library's symbols are C++-mangled, so a C test cannot
Expand Down
Loading