Hi all,
during compilation of Evolution-EWS cloned from git on 2011-05-31, I
got:
[...]
make[3]: Wejście do katalogu `/home/patben/Dev/evolution-ews/src/calendar'
  CC     libecalbackendews_la-e-cal-backend-ews-factory.lo
  CC     libecalbackendews_la-e-cal-backend-ews.lo
cc1: warnings being treated as errors
e-cal-backend-ews.c: In function ‘e_cal_backend_ews_receive_objects’:
e-cal-backend-ews.c:1509:17: error: ‘accept_data’ may be used uninitialized in 
this function
[...]

Seems like -Werror flag is turned on somewhere, I suppose on purpose.
After initialising ‘accept_data’ with NULL, compilation run fine. As far
as I can notice, patches on this ML were sent in attachment form, thus
mine is also attached. To apply it, enter evolution-ews/src/calendar/ in
your evolution-EWS tree and execute:
$ patch < e-cal-backend-ews_initialized_accept_data.patch

P.S. David explicitly included ;)
-- 
Patryk "LeadMan" Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments
--- e-cal-backend-ews.c	2011-06-01 11:25:54.171164036 +0200
+++ e-cal-backend-ews.c_initialized_accept_data	2011-06-01 10:54:03.172777277 +0200
@@ -1506,7 +1506,7 @@
 	icalcomponent *icalcomp, *subcomp;
 	GError *error = NULL;
 	icalproperty_method method;
-	EwsAcceptData *accept_data;
+	EwsAcceptData *accept_data = NULL;
 	GCancellable *cancellable = NULL;
 
 	cbews = E_CAL_BACKEND_EWS(backend);
_______________________________________________
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to