What happened?
Legitimacy component exposes C++ standard library types (std::string, std::function, std::pair, etc.) across DLL boundaries. In MSVC, these types do not have a stable ABI across toolset versions, which can cause link-time errors when using different Visual Studio / MSVC versions.
Expected result
Legitimacy component should provide C-style API
Reproduction steps
N/A
Importancy
Slight inconvenience
Area(s)
FiveM, RedM, FXServer
Specific version(s)
N/A
Additional information
I am trying to build FiveM using VS 2026 and latest toolset. Everything is good so far except linkage incompatibility with prebuilt legitimacy component.
What happened?
Legitimacy component exposes C++ standard library types (std::string, std::function, std::pair, etc.) across DLL boundaries. In MSVC, these types do not have a stable ABI across toolset versions, which can cause link-time errors when using different Visual Studio / MSVC versions.
Expected result
Legitimacy component should provide C-style API
Reproduction steps
N/A
Importancy
Slight inconvenience
Area(s)
FiveM, RedM, FXServer
Specific version(s)
N/A
Additional information
I am trying to build FiveM using VS 2026 and latest toolset. Everything is good so far except linkage incompatibility with prebuilt legitimacy component.