Commit 1876f0da authored by Benjamin Huber's avatar Benjamin Huber
Browse files

fixed compilation with clang

parent 5ea71479
Pipeline #503 failed with stages
in 5 minutes and 4 seconds
......@@ -5,7 +5,7 @@ CXX = clang++
DEBUG += -g # Adds debug symbols
LOGGING += -D INFO_ # Information that is not linked to any unexpected behaviour but might nevertheless be of interest.
LOGGING += -D XERUS_LOG_INFO # Information that is not linked to any unexpected behaviour but might
#=================================================================================================
# External libraries
......
......@@ -6,13 +6,13 @@ CXX = g++
STRICT_WARNINGS = TRUE
HIGH_OPTIMIZATION = TRUE # Activates -O3 -march=native and some others
DEBUG += -D DISABLE_RUNTIME_CHECKS_ # Disable all runtime checks
DEBUG += -D REPLACE_ALLOCATOR
DEBUG += -D XERUS_DISABLE_RUNTIME_CHECKS # Disable all runtime checks
DEBUG += -D XERUS_REPLACE_ALLOCATOR
DEBUG += -g # Adds debug symbols
LOGGING += -D INFO_ # Information that is not linked to any unexpected behaviour but might nevertheless be of interest.
LOGGING += -D XERUS_LOG_INFO # Information that is not linked to any unexpected behaviour bu
#=================================================================================================
# External libraries
......
......@@ -41,8 +41,8 @@ namespace xerus { namespace misc {
#if __GNUC__ > 4 || defined(__clang__)
GENERATE_HAS_FUNCTION(count)
GENERATE_HAS_FUNCTION(find)
XERUS_GENERATE_HAS_FUNCTION(count)
XERUS_GENERATE_HAS_FUNCTION(find)
///@brief: Counts how often an element is contained in an arbitary container
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment