Skip to content

Compile problem using gcc version 10.3.1 #12

@wwortel

Description

@wwortel

bridge.c: In function ‘ph_control’:
bridge.c:159:2: error: array subscript 2 is outside array bounds of ‘unsigned char[16]’ [-Werror=array-bounds]
159 | *d++ = c2;
| ^~~~
bridge.c:150:16: note: while referencing ‘data’
150 | unsigned char data[MISDN_HEADER_LEN+sizeof(int)+sizeof(int)];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions