I have upgraded my mac to OS X 10.9 and Xcode to latest version.
After upgrade cxxtools does not compile.
Darwin Kernel Version 13.0.0
x86_64
gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-
dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src
-I../include -I../include -Wno-long-long -Wall -pedantic -g -O2
-MT base64codec.lo -MD -MP -MF
.deps/base64codec.Tpo -c -o base64codec.lo base64codec.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include
-Wno-long-long -Wall -pedantic -g -O2 -MT base64codec.lo -MD -MP -MF
.deps/base64codec.Tpo -c
base64codec.cpp -fno-common -DPIC -o .libs/base64codec.o
In file included from base64codec.cpp:29:
In file included from ../include/cxxtools/base64codec.h:32:
In file included from ../include/cxxtools/textcodec.h:32:
In file included from ../include/cxxtools/char.h:414:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
/usr/bin/../lib/c++/v1/locale:1402:15: error:
conversion from 'int' to 'char_type' (aka 'cxxtools::Char') is ambiguous
char_type __thousands_sep = 0;
^ ~
../include/cxxtools/facets.h:93:61: note: in instantiation of member function
'std::__1::num_get<cxxtools::Char,
std::__1::istreambuf_iterator<cxxtools::Char, std::__1::
char_traits<cxxtools::Char> > >::do_get' requested here
std::locale::global( std::locale(std::locale(),
new std::num_get<cxxtools::Char>) );
^
../include/cxxtools/char.h:76:13: note: candidate constructor
Char(char ch)
^
../include/cxxtools/char.h:81:13: note: candidate constructor
Char(unsigned char ch)
^
../include/cxxtools/char.h:86:13: note: candidate constructor
Char(wchar_t ch)
^
1 error generated.
make[2]: *** [base64codec.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general