News for hackers. Stuff that matters.
Re:Two musings on the design of compiler warnings by syrrim on Wednesday September 02, 2020 @05:09PM (#24358170)
Should probably #define assert(x) to be ((void)x) for release builds instead.
Re:Two musings on the design of compiler warnings by saagarjha on Wednesday September 02, 2020 @05:35PM (#24358439)
Make sure to #undef assert before this, and then set NDEBUG and include assert.h again.