make -Wall, -Wextra and /W4 private to the project#457
Conversation
|
So, I can also confirm from a 'consuming project' point of view that this is now properly set 'privately': currently using my forked version here: philips-software/amp-cucumber-cpp-runner#312 And the actual commit with that change (and what I could remove because of it): philips-software/amp-cucumber-cpp-runner@963455f |
|
I think the windows build is busted because GitHub added windows-2025 which windows-latest now points at. I think if you adjust the tank to be windows-2022 it should work again and we can get a new issue to get 2025 working. |
|
Give me a sec to fix that windows issue. |
|
@jbaldwin its ready for review btw, no more changes required from my side :) |
This PR sets the -Wall, -Wextra and /W4 flags scoped to just the libcoro project.
It also removes the duplicate flags in libcoro_test and removed flags -fcoroutines and -fconcepts (these are set by default when the language version is set to C++20)
-std=c++20could be removed from libcoro_test because its always set through CMAKE_CXX_STANDARD-fexceptionsis removed because its set publicly in libcoroFixes #453