Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing include: cstdint #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zeuner
Copy link

@zeuner zeuner commented Nov 29, 2024

Depending on the build platform, ItemType and DirItemType without including cstdint first leads to compile errors:

In file included from /build/source/Basics/Basics.h:5,
                 from /build/source/Trees/Trees.h:4,
                 from /build/source/Pool/Pool.h:7,
                 from /build/source/Pool/Functions.h:11,
                 from /build/source/Pool/Functions.cpp:8:
/build/source/Basics/Enums.h:13:11: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
   13 |     enum  class ItemType : uint8_t {
      |     ~~~~  ^~~~~
      |           -----
/build/source/Basics/Enums.h:13:26: error: found ':' in nested-name-specifier, expected '::'
   13 |     enum  class ItemType : uint8_t {

[...]

(fixed by this PR)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant