Closed mkohlhaas closed 8 months ago
Could you check for NDEBUG instead of only DEBUG and _DEBUG for print functions (CGLM_DEFINE_PRINTS) et al, e.g in include/cglm/io.h?
NDEBUG
DEBUG
_DEBUG
CGLM_DEFINE_PRINTS
include/cglm/io.h
NDEBUG is only used for MSVC in CMakeLists.txt but is actually defined in the C++ standard and so used also by every C Compiler.
MSVC
CMakeLists.txt
Best regards!
Hi @mkohlhaas,
Thanks for the feedback, I've just created a PR: https://github.com/recp/cglm/pull/395
The PR is merged, thanks
Wow! You're strict!
Could you check for
NDEBUG
instead of onlyDEBUG
and_DEBUG
for print functions (CGLM_DEFINE_PRINTS
) et al, e.g ininclude/cglm/io.h
?NDEBUG
is only used forMSVC
inCMakeLists.txt
but is actually defined in the C++ standard and so used also by every C Compiler.Best regards!