← Back to Pull requests

Fix CMake flags that stopped applying #270

Merged
augiekim merged 1 files (12 lines) on Oct 02, 2026 18:04 UTC
View on GitHub
augiekim augiekim commented on Sep 30, 2026 22:51 UTC
Author

There are a few issues on CMakeLists.txt that make some flags being stopped applying.
This is due to the changes since CMake 3.15.

List of issues and fixes


CMake 3.15+ no longer puts /W3 in CMAKE_CXX_FLAGS (policy CMP0092) - Fix: the flag directly instead of replacing it.
CMake 3.15+ selects the runtime with CMAKE_MSVC_RUNTIME_LIBRARY (policy CMP0091) instead of /MD in CMAKE_CXX_FLAGS_<CONFIG>

After properly applying /W4, the CI build shows some warnings worth checking.

Warning | Count | Meaning | Risk
-- | -- | -- | --
C4505 | 270 | unused static function removed | Low
C4100 | 119 | unreferenced parameter | Low
C4456 | 54 | a declaration hides an earlier local with the same name | High
C4244 | 16 | int → char conversion may lose data | Low
C4189 | 4 | local variable set but never used | Low

Diff: 12 lines (+7 / -5) across 1 files Reviewer: compnerd Review duration: 2593m
All Vouch review confidence checks passed
Residual risk 0.09 = Change Risk (0.18) × (1 − Review Confidence (0.48)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.18 · 12 lines diff across 1 files
0.18
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.00 · 1 substantive comment(s)
0.00
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
48%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth shallow_review_depth
0.350
Diff Size diff_size
0.153
Real PR Conversation Timeline
2 items
compnerd compnerd approved these changes on Oct 02, 2026 17:56 UTC
Approved Reviewer

Approved these changes.

Reviewers
Assignees
augiekim augiekim
Labels
risk: low confidence: 48.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 18.3% (LOW) · Higher = larger blast radius
18.3%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 48.5% · Lower = rushed or shallow review
48.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 9.4% · Safe to merge
9.4%