Skip to content

Windows: macro redefined #42

@vtorri

Description

@vtorri

ewarnings:

  • ../src/bin/ui/shortcuts/shortcuts.h:49: warning: "MOD_SHIFT" redefined
    49 | #define MOD_SHIFT (1 << 0)
  • ../src/bin/ui/shortcuts/shortcuts.h:51: warning: "MOD_ALT" redefined
    51 | #define MOD_ALT (1 << 2)

see:

https://learn.microsoft.com/en-us/windows/win32/inputdev/wm-hotkey

I think that :

  • these macro should be an enum
  • they should a prefix, like EFLT or osmething like that

Vincent

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