[Evolution] [Evolution-EWS] [PATCH] compilation warning treated as error in e-cal-backend-ews.c, 'accept_data' not initialised



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

Attachment: e-cal-backend-ews_initialized_accept_data.patch
Description: Text Data



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