-
Notifications
You must be signed in to change notification settings - Fork 249
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
improve mingw compatibility and free the console in additional places #588
Conversation
@sudomgamal Please fix the merge conflict. |
Please also add a signed off statement to the commit message. |
…places - the flags added using add_defnintions will be appended to all compiler tools including the resource compiler (rc) which breaks the build use CMAKE_CXX_FLAGS instead. - close the windows consolewhen the user opens the dlt-viewer using a file doubleclick in the windows explorer Signed-off-by: sudomgamal <[email protected]>
Signed-off-by: sudomgamal <[email protected]>
done |
@vifactor Please review the change, if possible. |
qdlt/qdltoptmanager.cpp
Outdated
|
||
if(closeConsole) | ||
{ | ||
#if (WIN32 || WIN64) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a code duplicate, since exactly the same piece of code is at the end of this function. Could you please wrap this in a function and use it in two places?
Signed-off-by: sudomgamal <[email protected]>
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
including the resource compiler (rc) which breaks the build. Use CMAKE_CXX_FLAGS instead.