[Xcb] C++ problems

David Reveman c99drn at cs.umu.se
Wed Apr 21 21:15:03 EST 2004


The xcb headers use C++ reserved words, so if I include xcb.h in my C++
application g++ fails when compiling.

This patch only marks out the lines that I needed to change to get it to
compile, you should of course fix the problem in your own way. There
might be similar problems with other headers as well, I haven't checked
those. 

- David

-- 
David Reveman <c99drn at cs.umu.se>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xcb.h.diff
Type: text/x-patch
Size: 4495 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/xcb/attachments/20040421/b7bfd392/xcb.h.bin


More information about the xcb mailing list