[h323plus] IPSocks and errno Headers

Marcos Fábio Jardini marcos.f.jardini at gmail.com
Tue Dec 1 11:37:51 EST 2009


Hello all

    Report about porting ptlib solution to Visual Studio 2010:

** PTLib_2008.sln (can correspondent projects [.vcproj]) successfully
ported to PTLib_2010.sln (and [.vcxproj | .filters]): removed all
reference to Windows Mobile cause VS2010Beta2 don't work with mobile.

** Only have compilation warnings, so the lib update and compile without errors

LOG:

"[...]ptlib\include\ptlib\msos/ptlib/ipsock.h [several] warning C4005:
'XXXXXXXXXX' : macro redefinition"

>>Visual Studio getting more close to standard C (C++0x), the macros in ipsock.h already defined in [...]Microsoft Visual Studio 10.0\VC\include\errno.h
/***
*errno.h - system wide error numbers (set by system calls)
*
*       Copyright (c) Microsoft Corporation. All rights reserved.
*
*Purpose:
*       This file defines the system-wide error numbers (set by
*       system calls).  Conforms to the XENIX standard.  Extended
*       for compatibility with Uniforum standard.
*       [System V]
*
*       [Public]
*
****/
<<

"collect.cxx(54)(241)(417)(452)(457): warning C4244: 'initializing' :
conversion from 'std::streamsize' to 'int', possible loss of data"
"pchannel.cxx(124): warning C4244: 'argument' : conversion from
'__int64' to 'off_t', possible loss of data"
"ptime.cxx(78): warning C4244: 'initializing' : conversion from
'std::streamsize' to 'int', possible loss of data"
"ptime.cxx(88): warning C4244: 'argument' : conversion from
'std::streamsize' to 'int', possible loss of data "
"asner.cxx(981)(1142)(1612)(2089)(2267)(2354): warning C4244:
'initializing' : conversion from 'std::streamsize' to 'int', possible
loss of data
"snmp.cxx(34)(313)(427)(524): warning C4244: 'initializing' :
conversion from 'std::streamsize' to 'int', possible loss of data"

>>
Visual Studio getting more close to standard C (C++0x), strong typing waring
<<

**Hello_world static: work! OK
**Hello_world dynamic: work! OK

--
-----
Jogue RPG, alimente o lado criativo!



More information about the h323plus mailing list