Skip to content

Make zstd.h compatible with -Wzero-as-null-pointer-constant#4034

Merged
terrelln merged 2 commits into
facebook:devfrom
r-barnes:patch-1
Apr 29, 2024
Merged

Make zstd.h compatible with -Wzero-as-null-pointer-constant#4034
terrelln merged 2 commits into
facebook:devfrom
r-barnes:patch-1

Conversation

@r-barnes

@r-barnes r-barnes commented Apr 26, 2024

Copy link
Copy Markdown
Contributor

Makes this place nicely when header is used in C++ Files.

@Cyan4973 Cyan4973 left a comment

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.

This code needs to compile properly on a large base of C90 compilers.
Please write this modification in a more portable way.

@r-barnes

Copy link
Copy Markdown
Contributor Author

@Cyan4973 - It looks good now. @terrelln seems happy with the associated D56650471.

@Cyan4973 Cyan4973 left a comment

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.

Looks good to me

@terrelln

Copy link
Copy Markdown
Contributor

Thanks @r-barnes!

@terrelln terrelln merged commit 97291fc into facebook:dev Apr 29, 2024
@r-barnes r-barnes deleted the patch-1 branch May 24, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants