You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the current version of the MSYS2 build environment on Windows (gcc 13.2.0), compilation of RmlUi 5.1 fails with the following error:
In file included from C:/workspace/RmlUi/Source/Core/ElementAnimation.cpp:40:
C:/workspace/RmlUi/Source/Core/ElementStyle.h:43:6: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
43 | enum class PseudoClassState : std::uint8_t { Clear = 0, Set = 1, Override = 2 };
| ~~~~ ^~~~~
| -----
C:/workspace/RmlUi/Source/Core/ElementStyle.h:43:12: error: use of enum 'PseudoClassState' without previous declaration
43 | enum class PseudoClassState : std::uint8_t { Clear = 0, Set = 1, Override = 2 };
| ^~~~~~~~~~~~~~~~
This can be resolved including cstdint in Include/RmlUi/Core/Types.h:
#include <cstdint>
The text was updated successfully, but these errors were encountered:
Using the current version of the MSYS2 build environment on Windows (gcc 13.2.0), compilation of RmlUi 5.1 fails with the following error:
This can be resolved including
cstdint
inInclude/RmlUi/Core/Types.h
:The text was updated successfully, but these errors were encountered: