Re: Garnome 2.95.2: compile error in libical.c (office/evolution-data-server/calendar/ibical)



I was able to get past this by commenting out the affected lines in icaltime.c. This could cause a problem in the program when you use it but hey, it compiles for now.

Richard Blumel

Olivier Lecarme wrote:

cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../src
-I../../src/libical -I../../src/libical -I.
-DPACKAGE_DATA_DIR=\"/root/garnome/share/evolution-data-server-1.0\"
-I/root/garnome/include -I/usr/X11R6/include -g -I/root/garnome/include
-I/usr/X11R6/include -L/root/garnome/lib -L/usr/X11R6/lib -O2 -pipe -c
icaltime.c -MT icaltime.lo -MD -MP -MF .deps/icaltime.TPlo  -fPIC -DPIC
-o .libs/icaltime.o
icaltime.c: In function `icaltime_from_timet_with_zoné:
icaltime.c:204: warning: passing arg 3 of `icaltimezone_convert_timé
discards qualifiers from pointer target type
icaltime.c: In function `icaltime_as_timet_with_zoné:
icaltime.c:373: error: assignment of read-only location
icaltime.c:376: warning: passing arg 1 of `icaltimezone_convert_timé
discards qualifiers from pointer target type
icaltime.c:376: warning: passing arg 2 of `icaltimezone_convert_timé
discards qualifiers from pointer target type
icaltime.c: In function `icaltime_convert_to_zoné:
icaltime.c:982: warning: passing arg 2 of `icaltimezone_convert_timé
discards qualifiers from pointer target type
icaltime.c: In function `icaltime_get_tzid':
icaltime.c:1005: warning: passing arg 1 of `icaltimezone_get_tzid'
discards qualifiers from pointer target type
make[11]: *** [icaltime.lo] Erreur 1
make[11]: quittant le ripertoire +
/home/src/garnome-2.5.92/office/evolution-data-server/work/main.d/evolution-data-server-0.0.90/calendar/libical/src/libical
;
make[10]: *** [all] Erreur 2

I'm using gcc 3.3.3 on a Debian Sid installation.




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