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

Add compiler warning helper macros. #828

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

mkoscumb
Copy link
Contributor

I'm super tired of writing giant ifdef blobs to properly push/disable/pop compiler warnings. This makes things a bit easier and - ideally - more readable when we do need to suppress a warning. Intentionally not converting warnings to macros in modules (yet), public headers (as I want to avoid collision with consumers), and third party code.

I'm not wild about macros, but this is one of the times where they're warranted.

@mkoscumb mkoscumb added OTEL Partner Team - Microsoft Office Telemetry team do not merge PRs that are not ready to merge P2 Issues that are not blocking Android Android-related SDK issues iOS iOS related issue obj-c Objective-C wrapper related SDK issues code analysis labels Apr 16, 2021
@mkoscumb mkoscumb changed the title [WIP] Add compiler warning helper macros. Add compiler warning helper macros. Apr 19, 2021
@mkoscumb mkoscumb removed the do not merge PRs that are not ready to merge label Apr 19, 2021
@ThomsonTan
Copy link
Contributor

@mkoscumb, could you please resolve the conflicts in this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Android-related SDK issues code analysis iOS iOS related issue obj-c Objective-C wrapper related SDK issues OTEL Partner Team - Microsoft Office Telemetry team P2 Issues that are not blocking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants