On 3/16/06, Natan, Eetay <[EMAIL PROTECTED]> wrote:
> I am working with Visual C++ .NET 2003, with Sofia library package version
> 1.11.6

OK. We use old VC6 as you have noticed...

> The type "intptr_t" is defined in several of VC++'s header files. This makes
> problems while compiling .NET application which uses Sofia library.

> So in su_types.h, line 71, I have done this:

> /** Integer large enough for pointers */
> #ifndef _INTPTR_T_DEFINED //EETAY
> typedef SU_INTPTR_T intptr_t;
> #endif //EETAY
>
> (_INTPTR_T_DEFINED is macro defined & used by VC++ header files.)

Is it always defined when <su_types.h> is included?

> I've also noted that the project/solution files are old VC6 files.

Perhaps it would be time for upgrade. ;)

> Also had problem with __FUNCTION__ macro. I've added #define HAVE_FUNC=1
> somewhere, since the win32 config header file did not do so.

You can add it into win32/config.h.in and/or win32/config.h (there is
a simple awk script making). Could you try to see if there are other
things in VC2003 that we are missing from  VC6? It might be useful to
have different #if branches for VC6 and VC2003 in win32/config.h, or
perhaps even separate config.h for these two compilers..
--
Pekka.Pessi mail at nokia.com


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to