Skip to content

spdlog requires define guards on every use #3

@Enriquefft

Description

@Enriquefft

https://github.com/Enriquefft/cpp-template/blob/ee881bf74d2dff901ef899cce30b8fac8fe3673f/src/main.cpp#L5C1-L15C7

Spdlog requires window.h if used on a Windows build, that header has many common function names which conflict with Raylib. (raysan5/raylib#1217)

The current solution is to wrap spdlog includes with define guards, as proposed in raysan5/raylib#1217 (comment).

It would be nice if this was made into its own module.

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