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

protobuf_assumption_failed redefine #20015

Open
the-centry opened this issue Jan 16, 2025 · 1 comment
Open

protobuf_assumption_failed redefine #20015

the-centry opened this issue Jan 16, 2025 · 1 comment
Labels
untriaged auto added to all issues by default when created. wait for user action

Comments

@the-centry
Copy link

I use visual studio 2019 compile the source code https://github.com/protocolbuffers/protobuf/tree/v29.3, while use met the problem (C2375) and mentioned protobuf_assumption_failed redefine!
How to use protobuf in visual studio2019?

@the-centry the-centry added the untriaged auto added to all issues by default when created. label Jan 16, 2025
@esrauchg
Copy link

Sorry; much more information about the issue that you are hitting would be needed to triage the report.

With no other context than "redefine", the error like a standard C++ error regarding some incorrect usage where you have multiple definitions (eg, you have your headers without #ifndefs, or trying to #include multiple different versions of protobuf into the same project, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged auto added to all issues by default when created. wait for user action
Projects
None yet
Development

No branches or pull requests

2 participants