Skip to content

Operation enum conflict with windows.h DELETE macro #21

@yuanmao1

Description

@yuanmao1

The Operation enum defined in the header file contains a value named DELETE, which conflicts with the DELETE macro defined in the windows.h header file. This conflict causes compilation errors when both the enum and windows.h are included in the same translation unit.
enum Operation { DELETE, INSERT, EQUAL };

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