Compile error with /usr/include/cairo/cairo.h



Hello everyone

        I meet a compile  error  when make my  application
The error message like this:
//------------------------------------------------------
In file included from /usr/include/gtk-2.0/gdk/gdkcolor.h:30,
                from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                from /usr/include/gtk-2.0/gdk/gdk.h:30,
                from /usr/include/gtk-2.0/gtk/gtk.h:31,
                from common.h:13,
                from alarm_check.h:13,
                from state_panel.h:12,
                from state_panel.c:6:
/usr/include/cairo/cairo.h:55: ERROR:expected '=', ',', ';', 'asm' or
'__attribute__' before 'int'
make: *** [state_panel.o] error 1
//-----------------------------------------------------------


After i i  addeda    n ";"      at            /usr/include/cairo/cairo.h:55:
there was no  compile   error

I do not know whether  this is a bug  or not ?

Any comments would be much appreciated ,and thanks in advance !



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