[PR #261] Fixed issue when linking with C++/CLI application #871

Open
opened 2026-01-29 20:51:20 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/google/brotli/pull/261

State: closed
Merged: No


The Microsoft Visual C++ compiler, or specifically linker, generates an error about a possible uninitialized pointer when linking with a C++/CLI application if output is left uninitialized. This fixes that issue.

I get that this is a really minor thing but at least this way no one else needs to run into this issue if they want to use brotli in a C++/CLI project.

**Original Pull Request:** https://github.com/google/brotli/pull/261 **State:** closed **Merged:** No --- The Microsoft Visual C++ compiler, or specifically linker, generates an error about a possible uninitialized pointer when linking with a C++/CLI application if `output` is left uninitialized. This fixes that issue. I get that this is a really minor thing but at least this way no one else needs to run into this issue if they want to use brotli in a C++/CLI project.
claunia added the pull-request label 2026-01-29 20:51:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#871