Put this at the top of your header files after the inclusions of cassert (or a include that includes cassert)
#undef assert #define assert(x) ((void)0) Which redefines the assert marco so that it expands to nothing.
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack Internal Put this at the top of your header files after the inclusions of cassert (or a include that includes cassert)
#undef assert #define assert(x) ((void)0) Which redefines the assert marco so that it expands to nothing.
Put this at the top of your header files after the inclusions of cassert (or a include that includes cassert)
#undef assert #define assert(x) Which redefines the assert marco so that it expands to nothing.
Put this at the top of your header files after the inclusions of cassert (or a include that includes cassert)
#undef assert #define assert(x) ((void)0) Which redefines the assert marco so that it expands to nothing.
Put this at the top of your header files after the inclusions of cassert (or a include that includes cassert)
#undef assert #define assert(x) Which redefines the assert marco so that it expands to nothing.
Put this at the top of your header files after the inclusions of cassert (or a include that includes cassert)
#undef assert #define assert Which redefines the assert marco so that it expands to nothing.
Put this at the top of your header files after the inclusions of cassert (or a include that includes cassert)
#undef assert #define assert(x) Which redefines the assert marco so that it expands to nothing.