Skip to content

fatal error: variable has incomplete type 'void' #137

Open
@MichaTausKamR

Description

@MichaTausKamR

Current Behaviour

When compiling, I get two errors:

azerothcore-wotlk/var/build/obj/modules/gen_scriptloader/static/ModulesLoader.cpp:30:6: fatal error: variable has incomplete type 'void'
void Add,.Scripts();
     ^
1 error generated.
gmake[2]: *** [modules/CMakeFiles/modules.dir/build.make:76: modules/CMakeFiles/modules.dir/gen_scriptloader/static/ModulesLoader.cpp.o] Error 1

and

/azerothcore-wotlk/modules/,./src/AnticheatMgr.cpp:35:23: fatal error: constexpr variable cannot have non-literal type 'const std::string' (aka 'const basic_string<char>')
constexpr std::string modulestring = "anticheat";

Expected Blizzlike Behaviour

Should compile fine

Source

No response

Steps to reproduce the problem

Use the playerbots-fork of Azerothcore
git pull the anticheat module
Compile

Extra Notes

No response

AC rev. hash/commit

Don't have one since it happens when I'm compiling

Operating system

Ubuntu 22.04

Custom changes or Modules

No response

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