Re: gtkmm, cairo, and XLib



On Tue, 2006-01-24 at 12:02 +0100, Murray Cumming wrote:
> > > displaymanager.cc:31: error: conflicting declaration
> > > 'typedef class
> > > Gdk::Display Display'
> > > /usr/include/X11/Xlib.h:519: error: 'Display' has a
> > > previous declaration
> > > as 'typedef struct _XDisplay Display'
> > > displaymanager.cc: In function
[snip]
> I've just used #undef to fix this one case.

Damn, no I can't #undef a struct declaration. We'll have to keep Xlib.h
out of the cairomm headers.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]