Skip to content

ignore error of implicit func declaration from cmetrics#1563

Merged
zanejohnson-azure merged 1 commit intoci_prodfrom
zane/cmetrics-issue
Nov 5, 2025
Merged

ignore error of implicit func declaration from cmetrics#1563
zanejohnson-azure merged 1 commit intoci_prodfrom
zane/cmetrics-issue

Conversation

@zanejohnson-azure
Copy link
Contributor

@zanejohnson-azure zanejohnson-azure commented Nov 4, 2025

1es image was upgraded that comes with gcc version upgrade from 12 to 14, causing cmetrics lib compile error. (check the error in #20251104.3 • Fix FIC Auth support issues (#1547)

before this error happens: Current image version: '20250929.55.1'
https://github.com/actions/runner-images/blob/win25/20250929.44/images/windows/Windows2022-Readme.md
it shows gcc 12.x

when this error: Current image version: '20251021.76.1'
https://github.com/actions/runner-images/blob/win25/20251021.67/images/windows/Windows2022-Readme.md
it shows gcc 14.x

about gcc 14: https://gcc.gnu.org/gcc-14/porting_to.html

solution: Don't treat implicit function declarations as errors, just gives warning like what gcc 12 does.

test #1
build: see #20251104.5 • no error for implicit func declaration in build pipeline.

test #2
data: force resource opt and check contianerinventory data count. data size is doubled because ci windows agent now starts to inject container inventory due to resource opt is on, which verifies cmetrics works on windows node.

image

@zanejohnson-azure zanejohnson-azure requested a review from a team as a code owner November 4, 2025 22:52
@zanejohnson-azure zanejohnson-azure merged commit c27a99b into ci_prod Nov 5, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants