Skip to content

Use warn for printing #warning messages in JS libraries #23786

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

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 27, 2025

Previously we were only writing the message to stderr, and not recording it as an actual warning. After this change, such messages are now reported as warnings and controllable using -Werror, etc.

@sbc100 sbc100 requested a review from kripken February 27, 2025 22:28
Previously we were only writing the message to stderr, and not recording
it as an actual warning.  After this change, such messages are now
reported as warnings and controllable using `-Werror`, etc.
@sbc100 sbc100 merged commit 5a62c4d into emscripten-core:main Feb 27, 2025
23 of 29 checks passed
@sbc100 sbc100 deleted the js_warnings branch February 27, 2025 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants