Which sln file are you using? To go around this specific error you can simply change the "treat warnings as errors" switch to "no" in the FreeSwitchCoreLib properties.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Sent: Wednesday, September 10, 2008 3:02 AM To: [email protected] Subject: [Freeswitch-dev] compile error (on windows with VS 2005) I got the compile error on windows XP pro (with VS 2005). ..\..\src\switch_xml.c(2234) : error C2220: warning treated as error - no 'object' file generated ..\..\src\switch_xml.c(2234) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data ..\..\src\switch_xml.c(2266) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data ..\..\src\switch_xml.c(2507) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data ..\..\src\switch_xml.c(2522) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data ..\..\src\switch_xml.c(2529) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data ..\..\src\switch_xml.c(2600) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data Generating Code... Results Build log was saved at "file://g:\opensource\tele\freeswitch\freeswitch-1.0.1\w32\Library\Debug\Bui ldLog FreeSwitchCoreLib.htm" FreeSwitchCoreLib - 1 error(s), 6 warning(s) Then there will be lots of compile error since this core library was failed to be built. Please help me out, thanks. ___________________________________________________________ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. _______________________________________________ Freeswitch-dev mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.6.19/1661 - Release Date: 09/09/2008 10:47 No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.6.19/1661 - Release Date: 09/09/2008 10:47 _______________________________________________ Freeswitch-dev mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
