Custom assert

Started by
0 comments, last by ApochPiQ 8 years, 5 months ago

Hi,

There is a good article, paper or source code about a good custom assert cross platform ?

Here a link of a good custom assert but only MSVC : http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/

Is it correct to use __builtin_trap() instead of __debugbreak() for gcc and clang ?

Thanks

Advertisement
https://github.com/scottt/debugbreak

Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]

This topic is closed to new replies.

Advertisement