Strange compile error : /usr/include/cairo/cairo.h:55: error: expected ‘=’, ‘,’, ‘; ’, ‘asm’ or ‘__attribute__’ before ‘int’
- From: "chao yeaj" <yeajchao gmail com>
- To: gtk-list gnome org, gtk-app-devel-list gnome org
- Subject: Strange compile error : /usr/include/cairo/cairo.h:55: error: expected ‘=’, ‘,’, ‘; ’, ‘asm’ or ‘__attribute__’ before ‘int’
- Date: Wed, 12 Jul 2006 09:43:02 +0800
Hello everyone
I meet a compile error as follow:
when I compile my source file :state_panel.c,I meet the error message
when remove the source file from my applicaion,no this message,why?
[yeaj yechao tsz]$ make
gcc -c -Wall -g `pkg-config --cflags gtk+-2.0` `pkg-config --libs
gtk+-2.0` state_panel.c
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 state_panel.h:7,
from state_panel.c:6:
/usr/include/cairo/cairo.h:55: error: expected ��=��, ��,��, ��;��,
��asm�� or ��__attribute__�� before ��int�
make: *** [state_panel.o] Error 1
Any hints would be much appreciated,thanks in advance!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]