-
-
Notifications
You must be signed in to change notification settings - Fork 398
Closed
Description
Observed behaviour
After rescan enums with scripts/scan_enums.py, the project does not build and shows an error:
enum_table.cpp:286:44: error: redefinition of ‘const EnumItem ENUM_GameUIFaceFlags []’ const struct EnumItem ENUM_GameUIFaceFlags[] = {
Comparing these two files, you can see that they contain the same instructions for the script:
Line 22 in f7f4abd
| enum Flags { // <enum scope='GameUI::Face' name=GameUIFaceFlags public> |
Line 25 in f7f4abd
| enum Flags { // <enum scope='GameUI::Face' name=GameUIFaceFlags public> |
The question is can we just rename GameUI to PIGUI in src/pigui/Face.h ?
Expected behaviour
Successful recompilation after rescan.
Steps to reproduce
- run
./scripts/scan_enums.py --pattern="*.h" -r -o ./src/enum_table.cpp ./src - run build
My pioneer version (and OS):
current master f7f4abd
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels