Skip to content

[Bug]: master branch does not compile in VS2026 #5076

@gesior

Description

@gesior

By submitting this bug issue, you agree to the following.

  • This is a bug in the software that resides in this repository, and not a support matter (use https://otland.net/forums/support.16/ for support)
  • This issue is reproducible without changes to the C++ code in this repository
  • This bug has not been resolved in master branch
  • There is no existing issue for this bug already

Does this bug crash tfs?

no

Server Version

1.7 (Master)

Operation System

Windows

OS Description

Windows 10 with Visual Studio 2026

Bug description

Compilation in Visual Studio 2026 with vcpkg fails

Possible Pull Requests which are to blame

No response

Steps to reproduce

Install VS2026. Try to compile server in Debug/Release mode.

Actual Behavior

Compilation shows error (in Polish, its about syntax error):

forgottenserver\src\iomapserialize.h(31,47): error C2061: błąd składniowy: identyfikator „Thing”

Expected Behavior

Compilation works without error.
It can be fixed by adding:

class Thing;

above:

class Tile;

in src/iomapserialize.h.

Backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue describing unexpected behavior of codeneeds-confirmationnot confirmed by a developer yet

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions