Fix -Wsign-compare warnings causing warning icons in oj-verify docs - #12
Merged
Conversation
Co-authored-by: blue-jam <9583566+blue-jam@users.noreply.github.com> Agent-Logs-Url: https://github.com/blue-jam/ProconLibrary/sessions/559734cb-2854-4467-a451-5e28b87ffab9
Copilot
AI
changed the title
[WIP] Fix warning icons in library results documentation
Fix -Wsign-compare warnings causing warning icons in oj-verify docs
Mar 24, 2026
Owner
|
@copilot これは競技プログラミングのコードなので、intにキャストする必要はない。verify-helperの設定で、コンパイラオプションを追加して、キャストに関する警告を無視するようにして |
Co-authored-by: blue-jam <9583566+blue-jam@users.noreply.github.com> Agent-Logs-Url: https://github.com/blue-jam/ProconLibrary/sessions/8890298c-e75d-4b6e-9d35-8ec16a4b1798
Contributor
Author
Contributor
Author
blue-jam
approved these changes
Mar 24, 2026
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.
The
oj-verify docsdocumentation was displaying warning icons on multiple library files because they produced-Wsign-comparewarnings at compile time. All warnings stem from comparingintloop variables against unsignedsize_typereturned by.size().Changes
.verify-helper/config.toml— Added-Wno-sign-comparetoCXXFLAGSto suppress sign-comparison warnings at the compiler configuration level, keeping the library source code unchanged.Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.