Carlos O'Ryan
13a1a3effe
feat(cmake): require at least C++14 ( #12901 )
...
This will require C++14 (or higher) for the `libproto*` targets **and** anything that links them. If multiple dependencies have different C++ requirements, CMake will use the maximum version. It does not work with pkg-config, and does not work if the downstream dependency forcibly downgrades the compiler to C++11 (or lower). But prevents many problems. Note that if Abseil was compiled with C++17 it will require C++17 and that will propagate through Protobuf.
Closes #12901
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12901 from coryan:feat-cmake-use-target-compile-features 95084ac691
PiperOrigin-RevId: 535579816
2 years ago
Protobuf Team Bot
59c8e0cc5d
Auto-generate files after cl/535488676
2 years ago
Protobuf Team Bot
67c69b9a5c
Internal change
...
PiperOrigin-RevId: 535488676
2 years ago
Protobuf Team Bot
8d78b4b7b0
Auto-generate files after cl/535404403
2 years ago
Protobuf Team Bot
2477993637
Internal change
...
PiperOrigin-RevId: 535404403
2 years ago
Protobuf Team Bot
216aa5cdbc
Auto-generate files after cl/535397851
2 years ago
Protobuf Team Bot
066a9d0bae
internal change
...
PiperOrigin-RevId: 535397851
2 years ago
Protobuf Team Bot
2ac26b9e06
Auto-generate files after cl/535371638
2 years ago
Protobuf Team Bot
b7a2984c4e
Internal change
...
PiperOrigin-RevId: 535371638
2 years ago
Protobuf Team Bot
e255630c02
Auto-generate files after cl/535359088
2 years ago
Joshua Haberman
b2a520f693
Respect NDEBUG for asserts even though Ruby 3+ pollutes it.
...
Prior to this CL, asserts have no effect for Ruby 3+, because Ruby unconditionally defines `NDEBUG`: https://bugs.ruby-lang.org/issues/18777
We work around this by doing `#undef NDEBUG` right after including Ruby, if `NDEBUG` was not previously defined.
PiperOrigin-RevId: 535359088
2 years ago
Protobuf Team Bot
5101674194
Auto-generate files after cl/535351694
2 years ago
Protobuf Team Bot
65d987f802
Internal change
...
PiperOrigin-RevId: 535309339
2 years ago
Protobuf Team Bot
e93f01f0ad
Auto-generate files after cl/535306235
2 years ago
Mike Kruskal
d9de48ab3b
Automated rollback of commit 4d76f12a82
.
...
PiperOrigin-RevId: 535306235
2 years ago
Protobuf Team Bot
4d2babaf54
Auto-generate files after PR #12883
2 years ago
Jean byroot Boussier
263cb0a543
Ruby: Implement write barrier for DescriptorPool ( #12883 )
...
Followup: https://github.com/protocolbuffers/protobuf/pull/11793
Closes #12883
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12883 from casperisfine:ruby-missing-write-barrier 990e4fd3ec
PiperOrigin-RevId: 535281041
2 years ago
Protobuf Team Bot
12367320ef
Auto-generate files after cl/535091995
2 years ago
Protobuf Team Bot
f10f2a78e2
Internal change
...
PiperOrigin-RevId: 535091995
2 years ago
Protobuf Team Bot
8b67926255
Auto-generate files after cl/535068279
2 years ago
Protobuf Team Bot
ec2a10f67d
Internal change
...
PiperOrigin-RevId: 535068279
2 years ago
Protobuf Team Bot
7bfcdb8ffd
Auto-generate files after cl/535056816
2 years ago
Protobuf Team Bot
de93bf8a0c
Internal change
...
PiperOrigin-RevId: 535056816
2 years ago
Protobuf Team Bot
0cc00c28a4
Auto-generate files after cl/535005976
2 years ago
Protobuf Team Bot
036d17d5ea
Internal change
...
PiperOrigin-RevId: 535005976
2 years ago
Protobuf Team Bot
755f572a6b
Auto-generate files after cl/534993927
2 years ago
Protobuf Team Bot
52cbee583f
Internal change
...
PiperOrigin-RevId: 534993927
2 years ago
Protobuf Team Bot
2e9c127212
Auto-generate files after cl/534977342
2 years ago
Protobuf Team Bot
36715c8879
Internal change
...
PiperOrigin-RevId: 534977342
2 years ago
Protobuf Team Bot
96ef3c8843
Auto-generate files after cl/534969704
2 years ago
Protobuf Team Bot
503d6914d5
Internal change
...
PiperOrigin-RevId: 534969704
2 years ago
Protobuf Team Bot
1cb4c3ca0a
Auto-generate files after cl/534968948
2 years ago
Mike Kruskal
4b1c4965e4
Persist COMPOSER_HOME so that we don't continue to query remote servers
...
PiperOrigin-RevId: 534968948
2 years ago
Protobuf Team Bot
8a072d218b
Auto-generate files after cl/534958215
2 years ago
Mike Kruskal
da085e8bd0
Fix broken ccache setup in windows builds
...
Policy CMP0141 broke our hack to remove /Zi, and there doesn't seem to be a way to strip debug symbols with this policy enabled. We can disable the policy when it exists to get ccache working again and speed up our tests.
PiperOrigin-RevId: 534958215
2 years ago
Protobuf Team Bot
24fbe29190
Auto-generate files after cl/534945369
2 years ago
Protobuf Team Bot
ddcd0766cd
Internal change
...
PiperOrigin-RevId: 534945369
2 years ago
Protobuf Team Bot
ce24951406
Auto-generate files after cl/534935997
2 years ago
Protobuf Team Bot
b45f7674d0
Internal change
...
PiperOrigin-RevId: 534935997
2 years ago
Protobuf Team Bot
8fe216729a
Auto-generate files after cl/534905015
2 years ago
Protobuf Team Bot
a4737b9641
Internal change
...
PiperOrigin-RevId: 534905015
2 years ago
Protobuf Team Bot
1856979d0e
Auto-generate files after cl/534875127
2 years ago
Mike Kruskal
087cbcd6f5
Internal changes
...
PiperOrigin-RevId: 534875127
2 years ago
Protobuf Team Bot
254a571cb0
Auto-generate files after PR #12870
2 years ago
lukeocamden
3b6b996ba2
Fix printer.h compile error in -std=c++2b ( #12870 )
...
Closes #12869
Closes #12870
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12870 from lukeocamden:patch-1 28bd987181
PiperOrigin-RevId: 534717297
2 years ago
Protobuf Team Bot
033c764145
Auto-generate files after cl/534712783
2 years ago
Protobuf Team Bot
418ef2c0be
Internal Code Change
...
PiperOrigin-RevId: 534712783
2 years ago
Protobuf Team Bot
d4de9ed1cb
Auto-generate files after cl/534686527
2 years ago
Protobuf Team Bot
1c4de038f4
Internal change
...
PiperOrigin-RevId: 534686527
2 years ago
Protobuf Team Bot
9b807b491c
Auto-generate files after cl/534622899
2 years ago