Skip to content

Compiliation error with g++14 #34

@xcom169

Description

@xcom169

Error messages:
/usr/include/c++/14.2.1/bits/stl_pair.h:99:12: note: declaration of ‘struct std::array<std::unique_ptrsf::Music, 16>’
99 | struct array;
| ^~~~~
Input/../Audio/Audio.h:174:67: error: field ‘effects’ has incomplete type ‘std::array<std::unique_ptrsf::Music, 66>’
174 | std::array<std::unique_ptrsf::Music, (int)Sfx::__COUNT> effects;
| ^~~~~~~
/usr/include/c++/14.2.1/bits/stl_pair.h:99:12: note: declaration of ‘struct std::array<std::unique_ptrsf::Music, 66>’
99 | struct array;
| ^~~~~
Input/Input.h:127:63: error: field ‘resolutions’ has incomplete type ‘std::array<std::pair<int, int>, 4>’
127 | std::array<std::pair<int, int>, (int)Resolution::__COUNT> resolutions;
| ^~~~~~~~~~~
/usr/include/c++/14.2.1/bits/stl_pair.h:99:12: note: declaration of ‘struct std::array<std::pair<int, int>, 4>’
99 | struct array;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions