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

[cpr] disable werror #26252

Merged
merged 2 commits into from
Aug 10, 2022
Merged

Conversation

Neumann-A
Copy link
Contributor

No description provided.

@LilyWangLL LilyWangLL added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Aug 10, 2022
endif()

-if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
+if (1)
Copy link
Contributor

Choose a reason for hiding this comment

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

If here set if (1), the other following options except Werror will be disable too, will this affect the installation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is intentionally. Build scripts should never set flags such as -werror. since newer/different compilers might throw warnings upstream didn't test. So yes this is completely intentionally.

@BillyONeal BillyONeal merged commit 13e9aea into microsoft:master Aug 10, 2022
@BillyONeal
Copy link
Member

Thanks!

@Neumann-A Neumann-A deleted the cpr_disable_werror branch August 10, 2022 19:33
diegovelaz added a commit to diegovelaz/vcpkg that referenced this pull request Aug 10, 2022
Format and add version.

Update CI baseline.

Update port version.

[vcpkg] Fix cross compiling macOS (microsoft#26240)

This follows the pattern in the Windows toolchain with respect to
setting VCPKG_CMAKE_SYSTEM_VERSION and also how arm64 macOS can execute
x86_64 through Rosetta.

[buck-yeh-bux] fix clang-cl builds (microsoft#26248)

* [buck-yeh-bux] fix clang-cl

* v db

[cppcms] Fix narrowing for clang-cl builds (microsoft#26251)

* [cppcms] fix narrowing error with clang-cl

* v db

[crc32c] Clang-cl fix  (microsoft#26253)

* [crc32c] fix clang-cl builds.

* v db

[json-c] clang-cl fix. (microsoft#26254)

* [json-c] fix clang-cl builds

* v db

[cpr] disable werror (microsoft#26252)

* [cpr] disable werror

* v db

[sqlcipher] update to 4.5.2 (microsoft#26262)

* [sqlcipher] update to 4.5.2

* requested changes

* portfile.cmake - quote paths

[osgearth] Fix naming of target and exported variables (microsoft#26258)

* [osgearth] Fix target name and match exported variables

* Fix version SHA

Add port version to baseline.

Add x64-linux build expected to fail.

Add port 0 version.

Update version database

Specify supported CI so it only build dynamic.

Update SHA.
@LilyWangLL LilyWangLL added info:reviewed Pull Request changes follow basic guidelines and removed requires:author-response labels Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants