Skip to content

fix(glm53): initialise the two Mat fields #1462 added, so #1458's cleanup holds - #1463

Merged
JustVugg merged 1 commit into
devfrom
fix/glm53-mat-initializers
Sep 13, 2026
Merged

JustVugg merged 1 commit into
devfrom
fix/glm53-mat-initializers

Conversation

@JustVugg

Copy link
Copy Markdown
Owner

#1458 silenced -Wmissing-field-initializers on the three expert_mats initialisers by naming the vk field. #1462 landed alongside it and gave Mat two more trailing fields, resident and metal, so the warning did not go away, it moved to resident.

The zero the compiler was already supplying is the right value: a streamed expert slot is not resident and has no Metal tensor. This only says so explicitly. glm53 builds clean under -Wextra again; verified locally.

…anup holds

#1458 silenced -Wmissing-field-initializers on the three expert_mats
initialisers by naming the `vk` field. #1462 landed alongside it and gave Mat
two more trailing fields, `resident` and `metal`, so the warning did not go
away, it moved:

    glm53.c:1411:11: warning: missing initializer for field 'resident' of 'Mat'

The zero the compiler was already supplying is the right value -- a streamed
expert slot is not resident and has no Metal tensor -- so this only says so
explicitly. glm53 now builds clean under -Wextra again.
@JustVugg
JustVugg merged commit 8b2cf38 into dev Sep 13, 2026
28 checks passed
@JustVugg
JustVugg deleted the fix/glm53-mat-initializers branch September 24, 2026 22:28
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.

1 participant