Skip to content

Size mismatch warnings causing build failure #319

@Allofich

Description

@Allofich

Trying to build the latest code with Visual Studio 2022, I get warnings about vtable size mismatches between Jolt and OpenTESArena that are treated as errors. I also got the warnings previously, but they weren't treated as errors then. It might be related to the Jolt upgrade in 7b02511.

Changing this line in CMakeLists.txt:
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /GR-")
to
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /GR")
or commenting it out made the warnings disappear and allowed the build to complete.

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