recp / cglm

📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NDEBUG

mkohlhaas opened this issue · comments

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 is only used for MSVC in CMakeLists.txt but is actually defined in the C++ standard and so used also by every C Compiler.

Best regards!

Hi @mkohlhaas,

Thanks for the feedback, I've just created a PR: #395

The PR is merged, thanks

Wow! You're strict!