Re: [fltk.general] '(keysym) macro redefined' warnings when using FLTK

4 views
Skip to first unread message

Edzard Egberts

unread,
Sep 16, 2016, 2:33:01 AM9/16/16
to 'ed' via fltk.general
> Infile included from/usr/local/include/X11/keysym.h:73:
> /usr/local/include/X11/keysymdef.h:1333:9:warning:'XK_Greek_switch'macro
> redefined
> #defineXK_Greek_switch 0xff7e /* Alias for mode_switch */

#undefine XK_Greek_switch

> /usr/local/include/rfb/keysym.h:1154:9:note:previous definition ishere
> #defineXK_Greek_switch 0xFF7E /* Alias for mode_switch */

It may work to undefine the macro before redefining it - just a guess,
I'm strictly avoiding macros.
Reply all
Reply to author
Forward
0 new messages