-
Notifications
You must be signed in to change notification settings - Fork 106
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
MinGW Bug #3
Comments
You did include a complete test case, so I have to guess a bit. Did you put the inclusion of "nvwa/debug_new.h" after all other includes, esp. the system include files? |
mvwa.zip |
Just as I guessed, the code includes string.h and other stuff after including debug_new.h. Errors would occur any time the included file invokes |
Yep. QuikLua.h load string.h thread.h mutex, I can not remove them. Maybe have it any decision? Leak found, works in MSVC. Mingw throw error. #include <Windows.h>
#include "Lua.h"
#ifdef _DEBUG
#include "nvwa/debug_new.h"
#endif
#include "QuikLua.h"
#include "Helper.h" Work in both compilators, but leak have not found. #include <Windows.h>
#include "Lua.h"
#include "QuikLua.h"
#include "Helper.h"
#ifdef _DEBUG
#include "nvwa/debug_new.h"
#endif |
Leaks should always be found, regardless of whether debug_new.h is included or not. The difference is whether the file/line information can be reported or not. |
Hi. In MinGW i have errors. Don't know how it fix. Maybe you have some ideas?
Thank you!
The text was updated successfully, but these errors were encountered: