-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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
v25.0 regression: C2370
compile error from map_field.h
when compiling with cl.exe
and /permissive-
option
#14602
Labels
Comments
yukawa
changed the title
v25.0 regression: Nov 2, 2023
C2370
compile error from map_field.h
when compiling with cl.exe
and /permissive-
optionC2370
compile error from map_field.h
when compiling with cl.exe
and /permissive-
option
hlopko
added
c++
and removed
untriaged
auto added to all issues by default when created.
labels
Nov 2, 2023
copybara-service bot
pushed a commit
that referenced
this issue
Nov 2, 2023
Fixes #14602 PiperOrigin-RevId: 578835900
copybara-service bot
pushed a commit
that referenced
this issue
Nov 2, 2023
Fixes #14602 PiperOrigin-RevId: 578835900
copybara-service bot
pushed a commit
that referenced
this issue
Nov 2, 2023
Fixes #14602 PiperOrigin-RevId: 578835900
copybara-service bot
pushed a commit
that referenced
this issue
Nov 2, 2023
Fixes #14602 PiperOrigin-RevId: 578835900
Mizux
added a commit
to google/or-tools
that referenced
this issue
Nov 10, 2023
Same bug in 25.1 Can you please merge f78f9c5 into the 25.x line? |
wangjiezhe
added a commit
to wangjiezhe/gentoo-local
that referenced
this issue
Dec 23, 2023
protocolbuffers/protobuf#14602 Signed-off-by: wangjiezhe <wangjiezhe@gmail.com>
Still not fixed in 25.2 |
This was referenced Feb 1, 2024
Looks like we have to wait until 26.0 is released. I hope there will not be any issues again :( |
hiroyuki-komatsu
pushed a commit
to google/mozc
that referenced
this issue
Mar 16, 2024
This is a follow up commit to my previous commit [1] for #841, which made protobuf.gyp compatible with Protobuf v25.0 to work around a compile error [2]. Now that Mozc has switched to Protobuf v26.0 [3] (#871), this work around is no longer necessary. [1]: 013e8aa [2]: protocolbuffers/protobuf#14602 [3]: 0df12d0 #codehealth PiperOrigin-RevId: 616344978
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of protobuf and what language are you using?
Version: v25.0. Looks like a regression in 95d5723.
Language: C++
What operating system (Linux, Windows, ...) and version?
Windows 11 ver 22H2 (OS Build 22621.2428)
What runtime / compiler are you using (e.g., python version or gcc version)
What did you do?
Steps to reproduce the behavior:
What did you expect to see
Build succeeds.
What did you see instead?
Build fails with the following error.
It's failing here.
protobuf/src/google/protobuf/map_field.h
Lines 671 to 683 in 6b5d8db
Anything else we should know about your project / environment
Seems that this is a known issue in
cl.exe
.The tricky thing is that
/permissive-
is enabled by default when/std:c++20
is specified. While developers can still work around this by manually setting/permissive
only when building protobuf, it'd be really nice if we can avoid this error in protobuf in the first place.The text was updated successfully, but these errors were encountered: