Unicode compilation issues and fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've noticed that PJSIP 1.4 compiles fine as an Unicode application
under Windows, save for portaudio (but the issues seem to be mostly
cosmetic anyway) and a few issues in PJSIP itself. I attached a patch
with my PJSIP fixes; I doubt I need to sign a submission agreement for
such trivial fixes, but I have no problem signing one. An explaination
of the fixes:

    * set PJ_NATIVE_STRING_IS_UNICODE to 1 if UNICODE is defined, which
      takes care of most issues
    * GetProcAddress always takes a char *, even if UNICODE is defined,
      so use char * instead of pj_char_t * (and accordingly omit PJ_T on
      string literals)

-- 
 
KHAMSA SA

Michele Cicciotti
Research & Development

Mobile:   + 39 339 3206609
E-mail:    m.cicciotti at khamsalabs.net <mailto:m.cicciotti at khamsalabs.net>

KHAMSA SA
Via Giacometti 1 - 6900 Lugano - Switzerland
Web:   www.khamsa.net <http://www.khamsa.net>

Technical Support CH:  + 41 (0)91 2206457
Technical Support IT:   + 39 02 911930891
E-mail:  support at khamsa.ch <mailto:support at khamsa.ch>

Monday to Friday 10.00 - 12.00 and 14.00 - 16.00

..........................................................................................................................................................................................


This e-mail (including attachments) is intended only for the
recipient(s) named above. It may contain confidential or privileged
information and should not be read, copied or otherwise used by any
other person.
If you are not the named recipient, please contact us immediately and
delete the e-mail from your system.

Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed ? vietata la diffusione in qualunque modo
eseguita. Qualora Lei non fosse la persona a cui il presente messaggio ?
destinato, La invitiamo ad eliminarlo e a non leggerlo,
dandocene gentilmente comunicazione.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090922/cc44ee9d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khamsa.png
Type: image/png
Size: 2534 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090922/cc44ee9d/attachment.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unicode.patch
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090922/cc44ee9d/attachment.patch>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux