mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-13 01:38:20 +00:00
be1306f91a
This, unlike the standard assert macro, is guaranteed to print the failed assertion to our log file, and tests the assertion even with NDEBUG defined so we can more easily catch failures in production binaries without crashing the program. The motivation of this is how MinGW handles assertion failures: it creates a dialog window that the headless user will not be able to see, and blocks the program from being restarted by the service. Since the failed assertion is displayed in the dialog, it doesn't print anything to the log, making it impossible to diagnose issues. |
||
---|---|---|
.. | ||
common |