Skip to content

Work around compiler bug on assignment from itype with nested _Nt_array_ptr to fully checked type #725

Open
@kyleheadley

Description

@kyleheadley

This error appears in our vsftpd benchmarks (-alltypes)

sysdeputil.c:905:35: error: initializing '_Array_ptr<_Nt_array_ptr<char>>' with an expression of incompatible type 'char **'
 _Array_ptr<_Nt_array_ptr<char>> p_env = environ;
                                 ^       ~~~~~~~

It's related to a global variable with an itype inside an unwritable file, and the local copy and usage is inside an #ifdef.

The error needs to be explored more, but this issue us being used as a link target from the benchmark summary that acknowledges the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    benchmark failureA bug causing a failure in our nightly benchmark testsitypes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions