Skip to content

Compile error assigning __func__ to _Nt_array_ptr<const char> in unchecked scope #727

Open
@kyleheadley

Description

@kyleheadley

The predefined identifier __func__ represents the name of the enclosing function as a const char []. This is used in macros in 3C's icecast benchmark. It can be assigned to an _Nt_array_ptr<const char>, but only in a checked scope. 3C doesn't insert that checked scope without -addcr and block safety, but still rewrites to the nt array pointer.

We need a better way to handle these situations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    -addcrbenchmark failureA bug causing a failure in our nightly benchmark tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions