Skip to content
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

build: default CMAKE_COMPILE_WARNING_AS_ERROR as false #180

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

msclock
Copy link
Collaborator

@msclock msclock commented Apr 4, 2024

Because it will add -Werror or /WX to compile flags, and it is not suitable for distribution build.

See https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html#tldr-what-compiler-options-should-i-use

Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (a5bd787) to head (e53cf87).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #180   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines           43        43           
  Branches         7         7           
=========================================
  Hits            43        43           
Flag Coverage Δ
x64-linux-gcc-11 100.00% <ø> (ø)
x64-linux-gcc-11-vcpkg 100.00% <ø> (ø)
x64-linux-gcc-11-vcpkg-cppcheck 100.00% <ø> (ø)
x64-linux-llvm-vcpkg 100.00% <ø> (ø)
x64-mingw-dynamic-linux-mingw-vcpkg 77.41% <ø> (ø)
x64-osx-applellvm-vcpkg 100.00% <ø> (ø)
x64-osx-llvm-vcpkg 100.00% <ø> (ø)
x64-windows-llvm-vcpkg 100.00% <ø> (ø)
x64-windows-msvc-vcpkg 100.00% <ø> (ø)
x64-windows-msvc-vcpkg-export 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@msclock msclock force-pushed the warning_as_error_disable branch 3 times, most recently from 338cd3c to 976aa16 Compare April 4, 2024 08:03
Because it will add -Werror or /WX to compile flags, and it is not suitable for distribution build.

Signed-off-by: msclock <msclock@qq.com>
@msclock msclock force-pushed the warning_as_error_disable branch 2 times, most recently from c566736 to e53cf87 Compare April 4, 2024 08:10
@msclock msclock merged commit 09a7771 into serious-scaffold:master Apr 4, 2024
18 checks passed
@msclock msclock deleted the warning_as_error_disable branch April 4, 2024 08:20
@serious-scaffold
Copy link
Contributor

🎉 This PR is included in version 1.4.17 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant