Skip to content

Turn warnings into errors in CI#4397

Merged
lum1n0us merged 1 commit intobytecodealliance:mainfrom
lum1n0us:fix/global_wanring_options
Sep 10, 2025
Merged

Turn warnings into errors in CI#4397
lum1n0us merged 1 commit intobytecodealliance:mainfrom
lum1n0us:fix/global_wanring_options

Conversation

@lum1n0us
Copy link
Copy Markdown
Contributor

  • Apply global warnings in config_common.cmake instead of maintaining them in separate files.
  • Enable errors during CI when building iwasm and wamrc

@lum1n0us lum1n0us linked an issue Jun 20, 2025 that may be closed by this pull request
@lum1n0us lum1n0us force-pushed the fix/global_wanring_options branch 8 times, most recently from f5a4210 to b1a3ca5 Compare June 27, 2025 05:15
@lum1n0us lum1n0us force-pushed the fix/global_wanring_options branch from f553bd8 to c3cb9e0 Compare July 1, 2025 02:41
@lum1n0us lum1n0us marked this pull request as ready for review July 1, 2025 06:08
Comment thread wamr-compiler/CMakeLists.txt Outdated
Comment thread build-scripts/config_common.cmake Outdated
@lum1n0us lum1n0us force-pushed the fix/global_wanring_options branch from c3cb9e0 to 3eaf5a9 Compare July 3, 2025 06:24
@lum1n0us lum1n0us force-pushed the fix/global_wanring_options branch 2 times, most recently from 02eaa53 to 0050677 Compare July 11, 2025 05:11
@lum1n0us lum1n0us added the enhancement Check if this issue/PR enhances a feature; scripts will use this info. label Jul 14, 2025
@lum1n0us lum1n0us added breaking-change Determine if this PR introduces breaking changes. It will be used by scripts to classify PRs. and removed enhancement Check if this issue/PR enhances a feature; scripts will use this info. labels Aug 1, 2025
@lum1n0us
Copy link
Copy Markdown
Contributor Author

lum1n0us commented Aug 1, 2025

@yamt @loganek we are planning to merge this pull request, which will impact the current continuous integration or release process. Please provide your feedback.

Comment thread build-scripts/warnings.cmake Outdated
@lum1n0us lum1n0us force-pushed the fix/global_wanring_options branch from 0050677 to b5eea46 Compare August 26, 2025 02:13
@lum1n0us
Copy link
Copy Markdown
Contributor Author

depends on #4582

- Apply global warnings in warnings.cmake instead of maintaining them in
  separate files.
- Enable errors during CI when building iwasm and wamrc.
- Since GCC and Clang are the default compilers on Ubuntu and macOS, enabling
  `-Werror` on both platforms can be treated as checking with different
  compilers.
@lum1n0us lum1n0us force-pushed the fix/global_wanring_options branch from f37b8aa to c000ba9 Compare August 26, 2025 23:36
@lum1n0us lum1n0us merged commit b71a6bf into bytecodealliance:main Sep 10, 2025
517 of 522 checks passed
@lum1n0us lum1n0us deleted the fix/global_wanring_options branch September 10, 2025 22:33
kr-t pushed a commit to project-ocre/wasm-micro-runtime that referenced this pull request Nov 13, 2025
- Apply global warnings in warnings.cmake instead of maintaining them in
  separate files.
- Enable errors during CI when building iwasm and wamrc.
- Since GCC and Clang are the default compilers on Ubuntu and macOS, enabling
  `-Werror` on both platforms can be treated as checking with different
  compilers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change Determine if this PR introduces breaking changes. It will be used by scripts to classify PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enables errors for implicit function declaration by default

4 participants