Skip to content

Building master on gentoo: QA Warnings #18345

@CaptainBloodz

Description

@CaptainBloodz

Zig Version

0.12.0-dev.1840+d787b78d2

Steps to Reproduce and Observed Behavior

 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * /var/no-tmpfs/portage/dev-lang/zig-9999/work/zig-9999/build/zig2.c:3378343: warning: assignment to 'const uint16_t (*)[16]' {aka 'const short unsigned int (*)[16]'} from incompatible pointer type 'const uint16_t *' {aka 'const short unsigned int *'} [-Wincompatible-pointer-types]
 * /var/no-tmpfs/portage/dev-lang/zig-9999/work/zig-9999/build/zig2.c:1493587: warning: 'memcpy' reading 16 bytes from a region of size 10 [-Wstringop-overread]
 * /var/no-tmpfs/portage/dev-lang/zig-9999/work/zig-9999/build/zig2.c:2744871: warning: 'memcpy' reading 16 bytes from a region of size 10 [-Wstringop-overread]
 * /var/no-tmpfs/portage/dev-lang/zig-9999/work/zig-9999/build/zig2.c:2744945: warning: 'memcpy' reading 16 bytes from a region of size 10 [-Wstringop-overread]

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: https://ziglang.org/

My apologizes if totally meaningless.

Expected Behavior

No QA warnings reported

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.miscompilationThe compiler reports success but produces semantically incorrect code.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions