Skip to content

disable warning from Functional header - #2352

Merged
Victor Vazquez (vhvb1989) merged 2 commits into
Azure:masterfrom
vhvb1989:fix-broken-master
May 26, 2021
Merged

disable warning from Functional header#2352
Victor Vazquez (vhvb1989) merged 2 commits into
Azure:masterfrom
vhvb1989:fix-broken-master

Conversation

@vhvb1989

Copy link
Copy Markdown
Member

fixes: #2351

@vhvb1989

Copy link
Copy Markdown
Member Author

/azp run cpp - core

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Comment thread sdk/core/azure-core/CMakeLists.txt
@vhvb1989 Victor Vazquez (vhvb1989) changed the title disable warning from libcurl disable warning from Functional header May 26, 2021
@vhvb1989

Copy link
Copy Markdown
Member Author

/azp run cpp - core

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@vhvb1989
Victor Vazquez (vhvb1989) enabled auto-merge (squash) May 26, 2021 22:32
@vhvb1989
Victor Vazquez (vhvb1989) merged commit 3596685 into Azure:master May 26, 2021
# Disable warnings:
# - C6285: (<non-zero constant> || <non-zero constant>) -> VBProject static analysis on Functional header:
# _Is_large, regression from VS version 19.28.29915.0 to 19.29.30037.0
target_compile_options(azure-core PUBLIC /wd6285)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a bug we can track for the fix, i.e. when can we turn this back on?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Presumably the change that triggered this is microsoft/STL#698? The documentation suggests this warning should never fire for <boolean constant expression> || <boolean constant expression>, so I can't see this as anything other than a compiler bug. Please file a bug report with a minimal repro on Developer Community.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure.Core Client This issue points to a problem in the data-plane of the library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken master - azure-core - Windows - static analysis

5 participants