-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Open
Labels
clangClang issues not falling into any other categoryClang issues not falling into any other categoryplatform:windows
Description
The attribute shared
is an important IPC mechanism on Windows. But something is broken with clang's handling of this, as I only get this warning when using it:
/local/home/ossman/devel/tigervnc/win/wm_hooks/wm_hooks.cxx:383:23: error: 'shared' attribute ignored [-Werror,-Wignored-attributes]
383 | bool enable_synth_kbd SHARED = true;
| ^
/local/home/ossman/devel/tigervnc/win/wm_hooks/wm_hooks.cxx:29:51: note: expanded from macro 'SHARED'
29 | #define SHARED __attribute__((section ("shared"), shared))
| ^
Metadata
Metadata
Assignees
Labels
clangClang issues not falling into any other categoryClang issues not falling into any other categoryplatform:windows