<html><body>
<p> </p>
<blockquote>
<div class="message_header"><span>Mo Dez 21 2009 19:13:09 EST</span> <span>von "MaheshK" <maheshbg@sun.com> </span> <span class="message_subject">Betreff: [Freeassociation-devel] libical 0.44 build failure on VC++</span></div>
<div class="message_content"><tt>Hello,</tt><br /> <tt></tt><br /> <tt>I am trying to get latest libical 0.44 build done on Windows and it is </tt><br /> <tt>failing with the following log.</tt><br /> <tt>I can fix them by modifying the code appropriately, before that wanted </tt><br /> <tt>to check is this because</tt><br /> <tt>of some configuration issue. Any help/ suggestions is highly appreciated.</tt><br /> <tt></tt><br /> <tt>Here is the build logs ( Iam using VC++6 on WinXP)</tt><br /> <tt>Note: Issues to be resolved apart from the errors are related to </tt><br /> <tt>warning C4013:</tt><br /> <tt></tt><br /> <tt>===============</tt><br /> <tt>--------------------Configuration: libical - Win32 Debug--------------------</tt><br /> <tt>Performing Custom Build Step on icalderivedproperty.h.in</tt><br /> <tt>Performing Custom Build Step on icalderivedparameter.h.in</tt><br /> <tt>Performing Custom Build Step on icalderivedvalue.h.in</tt><br /> <tt>Performing Custom Build Step on icalversion.h.in</tt><br /> <tt>Performing Custom Build Step on .\ical.h</tt><br /> <tt>Performing Custom Build Step on icalrestriction.c.in</tt><br /> <tt>Performing Custom Build Step on icalderivedvalue.c.in</tt><br /> <tt>Performing Custom Build Step on icalderivedproperty.c.in</tt><br /> <tt>Performing Custom Build Step on icalderivedparameter.c.in</tt><br /> <tt>Compiling...</tt><br /> <tt>caldate.c</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(75) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'long ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(79) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'long ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(80) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'long ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(81) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'long ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(95) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'int ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(97) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'int ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(99) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'int ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>icalarray.c</tt><br /> <tt>icalattach.c</tt><br /> <tt>icalcomponent.c</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalcomponent.c(1340) </tt><br /> <tt>: warning C4013: 'strncasecmp' undefined; assuming extern returning int</tt></div>
</blockquote>
<div class="message_content">Wheres that supposed to come from in windows? the manpage says its to be in <string.h> which is included<br /></div>
<blockquote>
<div class="message_content"><br /></div>
<div class="message_content"><tt>e:\docs\libical\libical-0.44\libical-044\src\libical\icalcomponent.c(2285) </tt><br /> <tt>: warning C4013: 'snprintf' undefined; assuming extern returning int</tt></div>
</blockquote>
<div class="message_content">Hm, we've got vsnprintf.c for windows, maybe its missing an header?<br /></div>
<div class="message_content"><br /></div>
<blockquote>
<div class="message_content"><br /></div>
<div class="message_content"><tt>icalderivedparameter.c</tt><br /> <tt>icalderivedproperty.c</tt><br /> <tt>icalderivedvalue.c</tt><br /> <tt>icalduration.c</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalduration.c(193) </tt><br /> <tt>: warning C4013: 'snprintf' undefined; assuming extern returning int</tt><br /> <tt>icalenums.c</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalenumsc(125) : </tt><br /> <tt>warning C4013: 'snprintf' undefined; assuming extern returning int</tt><br /> <tt>icalerror.c</tt><br /> <tt>icallangbind.c</tt><br /> <tt>icalmemory.c</tt><br /> <tt>icalmime.c</tt><br /> <tt>icalparameter.c</tt><br /> <tt>icalparser.c</tt><br /> <tt>icalperiod.c</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalperiod.c(133) </tt><br /> <tt>: warning C4090: 'function' : different 'const' qualifiers</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalperiod.c(133) </tt><br /> <tt>: warning C4022: 'icalmemory_free_buffer' : pointer mismatch for actual </tt><br /> <tt>parameter 1</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalperiod.c(144) </tt><br /> <tt>: warning C4090: 'function' : different 'const' qualifiers</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalperiod.c(144) </tt><br /> <tt>: warning C4022: 'icalmemory_free_buffer' : pointer mismatch for actual </tt><br /> <tt>parameter 1</tt><br /> <tt>icalproperty.c</tt><br /> <tt>icalrecur.c</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(559) : </tt><br /> <tt>warning C4013: 'snprintf' undefined; assuming extern returning int</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1598) </tt><br /> <tt>: error C2143: syntax error : missing ';' before 'type'</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1599) </tt><br /> <tt>: error C2143: syntax error : missing ';' before 'type'</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1608) </tt><br /> <tt>: error C2065: 'set_pos_total' : undeclared identifier</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1610) </tt><br /> <tt>: error C2065: 'set_pos_counter' : undeclared identifier</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1616) </tt><br /> <tt>: error C2143: syntax error : missing ';' before 'type'</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1627) </tt><br /> <tt>: error C2065: 'found' : undeclared identifier</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1931) </tt><br /> <tt>: error C2143: syntax error : missing ';' before 'type'</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1950) </tt><br /> <tt>: error C2065: 'valid' : undeclared identifier</tt><br /> <tt>icalrestriction.c</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrestriction.c(380) </tt><br /> <tt>: warning C4013: 'snprintf' undefined; assuming extern returning int</tt><br /> <tt>icaltime.c</tt><br /> <tt>icaltimezone.c</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(347) </tt><br /> <tt>: warning C4013: 'strcasecmp' undefined; assuming extern returning int</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1400) </tt><br /> <tt>: warning C4018: '<' : signed/unsigned mismatch</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1683) </tt><br /> <tt>: warning C4013: 'snprintf' undefined; assuming extern returning int</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezonec(1762) </tt><br /> <tt>: warning C4018: '<' : signed/unsigned mismatch</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1964) </tt><br /> <tt>: error C2065: 'PACKAGE_DATA_DIR' : undeclared identifier</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1964) </tt><br /> <tt>: error C2143: syntax error : missing ';' before 'string'</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1964) </tt><br /> <tt>: warning C4047: 'return' : 'const char *' differs in levels of </tt><br /> <tt>indirection from 'int '</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1976) </tt><br /> <tt>: error C2143: syntax error : missing ';' before 'string'</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1976) </tt><br /> <tt>: warning C4047: 'return' : 'const char *' differs in levels of </tt><br /> <tt>indirection from 'int '</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2021) </tt><br /> <tt>: warning C4047: 'function' : 'const char *' differs in levels of </tt><br /> <tt>indirection from 'int '</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2021) </tt><br /> <tt>: warning C4024: 'strcpy' : different types for formal and actual </tt><br /> <tt>parameter 2</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2021) </tt><br /> <tt>: error C2143: syntax error : missing ')' before 'string'</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2021) </tt><br /> <tt>: error C2059: syntax error : ')'</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2028) </tt><br /> <tt>: warning C4013: 'S_ISDIR' undefined; assuming extern returning int</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2034) </tt><br /> <tt>: error C2143: syntax error : missing ';' before 'string'</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2034) </tt><br /> <tt>: warning C4047: 'return' : 'const char *' differs in levels of </tt><br /> <tt>indirection from 'int '</tt><br /> <tt>icaltypes.c</tt><br /> <tt>icalvalue.c</tt><br /> <tt>e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalvalue.c(361) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'float ', possible </tt><br /> <tt>loss of data</tt><br /> <tt>pvl.c</tt><br /> <tt>sspm.c</tt><br /> <tt>Error executing cl.exe.</tt><br /> <tt></tt></div>
<div class="message_content"><br /></div>
</blockquote>
<div class="message_content">hm, we derived this from evolution.<br /></div>
<blockquote>
<div class="message_content"><br /></div>
<div class="message_content"><tt>libical.lib - 14 error(s), 28 warning(s)</tt><br /> <tt>The following environment variables were not found</tt><br /> <tt>$(Id|Locker)</tt><br /> <tt>============================</tt><br /> <tt></tt><br /> <tt></tt><br /> <tt></tt><br /> <tt>Thanks & Regards,</tt><br /> <tt>Mahesh</tt><br /> <tt></tt><br /> <tt>------------------------------------------------------------------------------</tt><br /> <tt>This SF.Net email is sponsored by the Verizon Developer Community</tt><br /> <tt>Take advantage of Verizon's best-in-class app development support</tt><br /> <tt>A streamlined, 14 day to market process makes app distribution fast and easy</tt><br /> <tt>Join now and get one step closer to millions of Verizon customers</tt><br /> <tt><a href="http://p.sf.net/sfu/verizon-dev2dev" target="webcit01">http://p.sf.net/sfu/verizon-dev2dev</a> </tt><br /> <tt>_______________________________________________</tt><br /> <tt>Freeassociation-devel mailing list</tt><br /> <tt>Freeassociation-devel@lists.sourceforge.net</tt><br /> <tt>https://lists.sourceforge.net/lists/listinfo/freeassociation-devel</tt><br /> <br /></div>
</blockquote>
<p>I'll have a look at some of these float things, and fixed some of the easy ones.</p>
</body></html>