[Freeswitch-dev] compile error (on windows with VS 2005)

UV uv at yuvalhertzog.com
Tue Sep 9 13:40:00 EDT 2008


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: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Dave
Sent: Wednesday, September 10, 2008 3:02 AM
To: freeswitch-dev at lists.freeswitch.org
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
Freeswitch-dev at lists.freeswitch.org
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



More information about the Freeswitch-dev mailing list