Skip to content

Variable with generic type assigned to non-generic #734

Open
@kyleheadley

Description

@kyleheadley

This happens in libarchive:

../libarchive/archive_read_support_format_lha.c:289:34: error (init_incompatible): initializing '_Array_ptr<const unsigned char>' with an expression of incompatible type '_Array_ptr<T>' (aka '_Array_ptr<(0, 0) __BoundsInterface>')
        _Array_ptr<const unsigned char> p : count(5 + 1) = h;
                                        ^                  ~

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions