In <https://github.com/nim-lang/x11/blob/master/x11/xlib.nim>, where `XEvent` 
is declared as an nim object type, instead of import it from C, so the code 
which nim compiler generated introduce a new type which in C++ compiler's point 
of view is incompatible with the one declared in header files.

Reply via email to