Hi Leandro,

thank you for your report. I have clang 3.1 here and he complained also. 
I checked in a fix.

Can you please test it again.

Tommi

Am 30.01.2013 15:29, schrieb Leandro Santiago:
> Hi Tommi.
>
> I'm trying to compile my project using version of cxxtools compiled with gcc.
>
> When I'm trying to use some code involving unicode, I have this error
> (from the last svn revision, 1579):
>
> (...)
> In file included from /libraries/include/cxxtools/utf8codec.h:33:
> In file included from /libraries/include/cxxtools/char.h:613:
> In file included from /libraries/include/cxxtools/facets.h:32:
> In file included from /libraries/include/cxxtools/string.h:579:
> /libraries/include/cxxtools/string.tpp:379:20: error: ambiguous
> conversion for functional-style cast from 'unsigned int' to
> 'cxxtools::Char'
>              ret += cxxtools::Char(ch);
>                     ^~~~~~~~~~~~~~~~~
> /libraries/include/cxxtools/char.h:76:13: note: candidate constructor
>              Char(char ch)
>              ^
> /libraries/include/cxxtools/char.h:81:13: note: candidate constructor
>              Char(unsigned char ch)
>              ^
> /libraries/include/cxxtools/char.h:86:13: note: candidate constructor
>              Char(wchar_t ch)
>              ^
> /libraries/include/cxxtools/char.h:91:22: note: candidate constructor
>              explicit Char(value_type ch)
>                       ^
> /libraries/include/cxxtools/char.h:65:11: note: candidate is the
> implicit copy constructor
>      class Char
>            ^
>
> (... the same error is repeated... )
>
> I'm using clang 3.3 (development version).
>
> --
> Sent from my mind
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> _______________________________________________
> Tntnet-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tntnet-general


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to