Skip to content

compile error in win32 #494

@qujianbiao

Description

@qujianbiao

if (size > static_cast<size_t>(std::numeric_limits::max())) {
will export:
Error C2143 syntax error: missing ';' before '{'

need change to:
if (size > static_cast<size_t>((std::numeric_limits::max)())) {

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