|
|
|
|
|
by asveikau
4431 days ago
|
|
You are wrong. assert is a no-op when NDEBUG is defined. Some compilers will set that for you in an optimized build. Using an assert in place of real error checking or otherwise relying on its side effects is consequently a huge wtf in C. |
|