Skip to content

Non-reproducible behavior on Windows (with MSVC) #40

Closed

Description

@winapiadmin

Describe the bug
_Position<T>::START_FEN or its Chess960 corresponding variable didn't get a value on runtime for MSVC

Minimal, Reproducible Example

#include <position.h>
chess::Position pos;
int main(){}

Partial test log

no

Full test log

no

Hardware/Software info

Compiler: MSVC
OS: Windows 11 x64

Specifically, if the issue is reported by logic analysis, provide solution if applicable.

Solution: revert const char* and cast to string when applicable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions