Skip to content

Tier 2 C++ Max and Min Macros defined in windows.h conflict with std implementation #19

@nachoz12341

Description

@nachoz12341

#define NOMINMAX needs to be called before including windows.h in order to avoid the macro defined version of min and max. These implementations will cause errors with using std::min or std::max. This causes non portable code for windows specifically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions