=?UTF-8?Q?Strange_compile_error_:_/usr/include/cairo/cairo.h:55:_error:?= =?UTF-8?Q?_expected_=E2=80=98=3D=E2=80=99,_?= =?UTF-8?Q?=E2=80=98,=E2=80=99,_=E2=80=98; =E2=80=99?= =?UTF-8?Q?,_=E2=80=98asm=E2=80=99_?= =?UTF-8?Q?or_=E2=80=98=5F=5Fattribute?= =?UTF-8?Q?=5F=5F=E2=80=99_before_=E2=80=98int=E2=80=99?=
- 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]