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

[External] zlib has suppressed warnings #76095

Closed
AaronRobinsonMSFT opened this issue Sep 23, 2022 · 5 comments
Closed

[External] zlib has suppressed warnings #76095

AaronRobinsonMSFT opened this issue Sep 23, 2022 · 5 comments
Labels
area-System.IO.Compression help wanted [up-for-grabs] Good issue for external contributors
Milestone

Comments

@AaronRobinsonMSFT
Copy link
Member

AaronRobinsonMSFT commented Sep 23, 2022

The following externally consumed projects require suppression of warnings that are unadvised. We should be fixing these issues and offering those fixes upstream.

zlib

add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4244>) # conversion from 'type1' to 'type2', possible loss of data

add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4244>) # conversion from 'type1' to 'type2', possible loss of data

set_source_files_properties(${ZLIB_SOURCES} PROPERTIES COMPILE_OPTIONS "/wd4005;/wd4127;/wd4131;/wd4244")

@ghost
Copy link

ghost commented Sep 23, 2022

Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.

Issue Details

The following externally consumed projects require suppression of warnings that are unadvised. We should be fixing these issues and offering those fixes upstream.

zlib

add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4244>) # conversion from 'type1' to 'type2', possible loss of data

add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4244>) # conversion from 'type1' to 'type2', possible loss of data

set_source_files_properties(${ZLIB_SOURCES} PROPERTIES COMPILE_OPTIONS "/wd4005;/wd4127;/wd4131;/wd4244")

libunwind

add_compile_options(-wd4244) # possible loss of data

Author: AaronRobinsonMSFT
Assignees: -
Labels:

area-Meta

Milestone: 8.0.0

@ericstj ericstj changed the title [External] Consumption of external source has suppressed warnings [External] zlib has suppressed warnings Aug 11, 2023
@ghost
Copy link

ghost commented Aug 11, 2023

Tagging subscribers to this area: @dotnet/area-system-io-compression
See info in area-owners.md if you want to be subscribed.

Issue Details

The following externally consumed projects require suppression of warnings that are unadvised. We should be fixing these issues and offering those fixes upstream.

zlib

add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4244>) # conversion from 'type1' to 'type2', possible loss of data

add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4244>) # conversion from 'type1' to 'type2', possible loss of data

set_source_files_properties(${ZLIB_SOURCES} PROPERTIES COMPILE_OPTIONS "/wd4005;/wd4127;/wd4131;/wd4244")

libunwind

add_compile_options(-wd4244) # possible loss of data

Author: AaronRobinsonMSFT
Assignees: -
Labels:

area-System.IO.Compression

Milestone: 8.0.0

@ericstj ericstj modified the milestones: 8.0.0, 9.0.0 Aug 11, 2023
@danmoseley
Copy link
Member

Could this be help wanted label?

@ViktorHofer ViktorHofer added the help wanted [up-for-grabs] Good issue for external contributors label Aug 21, 2023
@GrabYourPitchforks
Copy link
Member

C4244 was addressed via #91245 and the zlib patch will be merged upstream in 1.3.1.1.

IIRC the mono build work is still outstanding.

@ericstj
Copy link
Member

ericstj commented Aug 6, 2024

I believe this is now resolved with the move to zlib-ng and #105433 cc @carlossanlop

@ericstj ericstj closed this as completed Aug 6, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.IO.Compression help wanted [up-for-grabs] Good issue for external contributors
Projects
None yet
Development

No branches or pull requests

5 participants