Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #421. Use the standard library's
<version>header when it is available in C++17. GCC 15 deprecates<ciso646>in this mode, and the default vendored Abseil build treats that warning as an error. The header selection keeps the existing fallback for older toolchains.Validation
int128.ccwith-Werror=cpp. The patched build completed with the same options, includingBUILD_TESTS=ON.<version>is unavailable and confirmed an unrelated preprocessor warning still fails compilation.Changelog category
Bug Fix
Changelog entry
Fix the default C++17 build with GCC 15 when using vendored Abseil.
OpenAI Codex generated and tested the patch.
Note
Low Risk
Single vendored header include guard change; no auth, data, or API behavior changes beyond avoiding a deprecated-header compile failure.
Overview
Updates vendored Abseil
options.hso C++17 builds prefer<version>when the compiler provides it (__has_include), instead of always pulling in<ciso646>below C++20.GCC 15 deprecates
<ciso646>in C++17 mode; with warnings-as-errors that broke the default vendored Abseil build. Older toolchains without<version>still use the<ciso646>fallback unchanged.Reviewed by Cursor Bugbot for commit e5d657b. Bugbot is set up for automated code reviews on this repo. Configure here.