=?UTF-8?B?UmU6IFN0cmFuZ2UgY29tcGlsZSBlcnJvciA6IC91c3IvaW5jbHVkZS8=?= =?UTF-8?B?Y2Fpcm8vY2Fpcm8uaDo1NTogZXJyb3I6IGV4cGVjdGVkIOKAmD3igJksICA9P1U=?= =?UTF-8?B?VEYtOD9RPz1FMj04MD05OCw9RTI9ODA9OTksXz1FMj04MD05ODsgPUUyPTgwPTk=?= =?UTF-8?B?OT89ICwg4oCYYXNt4oCZIG9yIOKAmF9fYXR0cmlidXRlX1/igJkgYmVmb3JlIOKAmA==?= =?UTF-8?B?aW504oCZ?=
- From: Ivan Baldo <ibaldo adinet com uy>
- To: chao yeaj <yeajchao gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Strange compile error : /usr/include/cairo/cairo.h:55: error: expected â=â, =?UTF-8?Q?=E2=80=98,=E2=80=99,_=E2=80=98; =E2=80=99?= , âasmâ or â__attribute__â before âintâ
- Date: Mon, 17 Jul 2006 21:23:47 -0300
Maybe you have a name clash with GTK.
Try to #include gtk.h sooner in state_panel.h and try to include
state_panel.h sooner in state_panel.c.
By sooner I mean before other #include's and other definitions from
your program.
Hope this helps.
El 11/07/06 22:43, chao yeaj escribiÃ:
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!
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
Ivan Baldo - ibaldo adinet com uy - http://ibaldo.codigolibre.net/
ICQ 10215364 - Phone/FAX (598) (2) 613 3223.
Caldas 1781, Malvin, Montevideo, Uruguay, South America, planet Earth.
In favour of world peace and freedom, against U.S.A. and allies!!!
Alternatives: ibaldo codigolibre net - http://go.to/ibaldo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]