-
Notifications
You must be signed in to change notification settings - Fork 14
remove min warning level #27
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
Conversation
This can be done using warning_level=1. Fixes meson warning.
Sorry, but I'd rather not implement your patch. For a number of reasons.
When I looked at your patch and once again studied part of the meson documentation, It would be nice to get rid of meson's warnings and still set any compiler options |
Wouldn't it make sense to do all that properly, by actually making proper use of Meson? As for the flags, why do you care if -Winvalid-pch is set? On the other hand, sure, Meson could probably avoid setting this flag at all if a given target doesn't have
|
I'm not a fan of warning_level. In https://github.com/libsigcplusplus/libsigcplusplus Meson's werror option is another matter. It should probably be used instead of That said, this PR does no harm here. I can merge it. But it corrects only a small |
Isn't that what According to my manpage, this warning is implied by |
-Wall implies -Wdelete-non-virtual-dtor. It does not imply -Wnon-virtual-dtor. -Wnon-virtual-dtor generated a warning in libsigcplusplus. I thought that the Still, I don't like the warnings from Meson when you add certain compiler options with For instance, say you want to add -Wextra. Which level of warning_level should you select? |
@fanc999 If I merge this PR, |
Hi, That's perfectly fine with me. It's actually better, since Visual Studio would be less annoyed by Thanks for the heads up! :) |
Right, sorry, I misread that. Now, it's not really clear to me what the purpose of this warning being in the Meson defaults is, though. So maybe that's a problem we should fix, so that people stop being unhappy about using meson's warning_level option. ;) |
This can be done using warning_level=1. Fixes meson warning.
WARNING: Consider using the built-in warning_level option instead of using "-Wall".