On Sat, Nov 10, 2007 at 11:16:15PM +0100, Pavel Sanda wrote:
> > Hm... shot into the dark:
> > 
> > What happens if you add
> > 
> > #undef CursorShape
> 
> yes, that works.

Whoahey.

Now you could do me a favour: Could you run that file through the preprocessor
only (i.e. g++ -E instead of g++ -c) and figure out who pulls in X.h (or
Xlib.h)?


> now remains
> ../../../src/DispatchResult.h: In constructor 
> 'lyx::DispatchResult::DispatchResult()':
> ../../../src/DispatchResult.h:24: error: expected unqualified-id before 
> numeric constant

Probably something similar. Try

#undef None

Andre'

Reply via email to