New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert #2273
Conversation
Signed-off-by: fossabot <badges@fossa.io>
Add license scan report and status
This reverts commit 8170bae.
… quick hack to crash the core misusing assert
@milestorme dont cry baby we love you to :))) |
so what about review or something? |
I'm sorry, but I can't do this because I don't know what this is about, why we need this or what this affects. I'm not good at C++. |
|
Yes, I read that, but I don't understand why it is bad to use ASSERT(false). You also added some changes to Errors.cpp and Errors.h that I also don't understand. |
As I told, I'm quite a noob at C++, sorry. |
For better formatting(human readable) and ace replace :) |
I didn't know how to test it, so I'll use it on my server. |
@pklloveyou that will be enough, thanks |
The server was running for 24 hours with no errors found |
Test in win at VS 16.2. Perfect work
|
CHANGES PROPOSED:
Target branch(es):