Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tons of unterminated-string-initialization building 8.4.16 using clang21 #20910

Open
@andypost

Description

Description

Rebuilding 8.4.16 using clang 21.1.8 I see logs are overbloated with the warnings like

/builds/alpine/aports/community/php84/src/php-8.4.16/ext/fileinfo/libmagic/../data_file.c:5:1: warning: initializer-string for character array is too long, array size is 1024 but initializer has size 1025 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Wunterminated-string-initialization]
 5 | "0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円 0円=+005円0円0円0円0円0円004円0円0円0円0円0円0円0円}0円0円0円0円0円0円0円0円0円0円0円Synergy0円0048円0049円(&0048円0048円)&0048円0048円0048円&0048円0048円0048円0円0028円0円0円0円002円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円001円0円0円0円=017円005円0円0円0円0円0円?0円0円0円0円0円0円0円~0円0円0円0円0円0円0円0円0円0円0円CRawDataElement0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円002円0円0円0円=016円005円0円0円0円0円0円U0円0円0円0円0円0円0円177円0円0円0円0円0円0円0円0円0円0円0円CRawDataBuffer0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円0円Biosig/S",
 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

also there's a few

In file included from /builds/alpine/aports/community/php84/src/php-8.4.16/ext/dom/lexbor/lexbor/html/tokenizer/state.c:21:
/builds/alpine/aports/community/php84/src/php-8.4.16/ext/dom/lexbor/lexbor/html/tokenizer/res.h:209:38: warning: initializer-string for character array is too long, array size is 6 but initializer has size 7 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Wunterminated-string-initialization]
 209 | {0x76, {0}, 0, 367, 0, 368}, {0x3b, "\xe2\x89\xaa\xe2\x83\x92", 6, 0, 0, 0},
 | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/builds/alpine/aports/community/php84/src/php-8.4.16/ext/dom/lexbor/lexbor/html/tokenizer/res.h:226:38: warning: initializer-string for character array is too long, array size is 6 but initializer has size 7 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Wunterminated-string-initialization]
 226 | {0x76, {0}, 0, 401, 0, 402}, {0x3b, "\xe2\x89\xab\xe2\x83\x92", 6, 0, 0, 0},
 | ^~~~~~~~~~~~~~~~~~~~~~~~~~

I see it was fixed some time ago in #17687 but started to fire not so long ago

PHP Version

8.4.16

Operating System

Alpinelinux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /