-
Notifications
You must be signed in to change notification settings - Fork 7k
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
toolchain: Add macros to disable compiler warnings #84063
Merged
kartben
merged 1 commit into
zephyrproject-rtos:main
from
thughes:add-toolchain-compiler-warning-macros
Feb 14, 2025
Merged
toolchain: Add macros to disable compiler warnings #84063
kartben
merged 1 commit into
zephyrproject-rtos:main
from
thughes:add-toolchain-compiler-warning-macros
Feb 14, 2025
+82
−0
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
088434f
to
3949f4e
Compare
This was referenced Jan 17, 2025
See comment here: #84065 (review) |
tejlmand
reviewed
Jan 22, 2025
3949f4e
to
a2a59f9
Compare
@tejlmand I think I addressed your comments, so let me know if there's anything else. |
RobinKastberg
approved these changes
Jan 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine for us.
tejlmand
approved these changes
Jan 30, 2025
tejlmand
requested changes
Jan 30, 2025
a2a59f9
to
9cfce6b
Compare
tejlmand
previously approved these changes
Jan 31, 2025
9cfce6b
to
7b0398d
Compare
These macros allow disabling compiler warnings for all compilers or only gcc or only clang. Signed-off-by: Tom Hughes <[email protected]>
7b0398d
to
bca5bc4
Compare
tejlmand
approved these changes
Feb 14, 2025
nashif
approved these changes
Feb 14, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These macros allow disabling compiler warnings for all compilers or only gcc or only clang.
Note that the reason to have gcc and clang-specific versions in addition to the general version is that sometimes only clang or gcc will emit a warning.
A followup PR will convert existing code to use these: #84065