[log] Build fail : log (1.44.0) on vc 11 using cxxflags=-Zc:wchar_t-
Hi All, I need use cxxflags=-Zc:wchar_t-, because I will use boost with my QT project! I build boost like this (debug in this case): bjam toolset=msvc-11.0 variant=debug threading=multi link=shared cxxflags=-Zc:wchar_t- But log lib fail with this: call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86 >nul cl /Zm800 -nologo @"..\..\..\bin.v2\libs\log\build\msvc-11.0\debug\threading-mul ti\formatter_parser.obj.rsp" ...failed compile-c-c++ ..\..\..\bin.v2\libs\log\build\msvc-11.0\debug\threading -multi\formatter_parser.obj... ...skipped
On Thu, Jul 4, 2013 at 5:16 PM, Renato Forti
Hi All,
I need use cxxflags=-Zc:wchar_t-, because I will use boost with my QT project!
Anyone can helpeme? Thanks
If I'm not mistaken, Boost builds with native wchar_t by default. I'm not sure if fake wchar_t is even supported by Boost. Regarding Boost.Log, I did not add any special support for fake wchar_t, it may or may not work. If it doesn't, your best bet is to disable wchar_t support in Boost.Log by defining BOOST_LOG_WITHOUT_WCHAR_T during the Boost and your application build time.
Thanks for help!
Don't compile too, I receive a lot of errors like:
C:\boost_1_54_0\boost/spirit/home/qi/detail/parse.hpp(32) : error C2338:
error_i
nvalid_expression
C:\boost_1_54_0\boost/spirit/home/qi/parse.hpp(36) : see reference
to cl
ass template instantiation 'boost::spirit::qi::detail::parse_impl<Expr>'
being c
ompiled
with
[
Expr=boost::proto::exprns_::expr
Hi All,
I need use cxxflags=-Zc:wchar_t-, because I will use boost with my QT project!
Anyone can helpeme? Thanks
If I'm not mistaken, Boost builds with native wchar_t by default. I'm not sure if fake wchar_t is even supported by Boost. Regarding Boost.Log, I did not add any special support for fake wchar_t, it may or may not work. If it doesn't, your best bet is to disable wchar_t support in Boost.Log by defining BOOST_LOG_WITHOUT_WCHAR_T during the Boost and your application build time. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
On Thu, Jul 4, 2013 at 7:10 PM, Renato Forti
Thanks for help!
Don't compile too, I receive a lot of errors like:
Any other sugestion? Thanks!
Now it breaks in Boost.Spirit parser for paths. I haven't looked too deep, so I can't tell how to fix this. Right now I can only suggest to use native wchar_t.
Ok,
Thanks!
-----Mensagem original-----
De: Boost [mailto:boost-bounces@lists.boost.org] Em nome de Andrey Semashev
Enviada em: quinta-feira, 4 de julho de 2013 12:59
Para: boost@lists.boost.org
Assunto: Re: [boost] RES: [log] Build fail : log (1.44.0) on vc 11 using
cxxflags=-Zc:wchar_t-
On Thu, Jul 4, 2013 at 7:10 PM, Renato Forti
Thanks for help!
Don't compile too, I receive a lot of errors like:
Any other sugestion? Thanks!
Now it breaks in Boost.Spirit parser for paths. I haven't looked too deep, so I can't tell how to fix this. Right now I can only suggest to use native wchar_t. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Just for the record, I checked the latest version of QT (5.1) and now its
uses wchat_t, and works properly with boost log!
QMAKE_CFLAGS = -nologo -Zm200 -Zc:wchar_t
thanks
-----Mensagem original-----
De: Boost [mailto:boost-bounces@lists.boost.org] Em nome de Andrey Semashev
Enviada em: quinta-feira, 4 de julho de 2013 12:59
Para: boost@lists.boost.org
Assunto: Re: [boost] RES: [log] Build fail : log (1.44.0) on vc 11 using
cxxflags=-Zc:wchar_t-
On Thu, Jul 4, 2013 at 7:10 PM, Renato Forti
Thanks for help!
Don't compile too, I receive a lot of errors like:
Any other sugestion? Thanks!
Now it breaks in Boost.Spirit parser for paths. I haven't looked too deep, so I can't tell how to fix this. Right now I can only suggest to use native wchar_t. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
On 7/4/2013 12:52 PM, Renato Forti wrote:
Just for the record, I checked the latest version of QT (5.1) and now its uses wchat_t, and works properly with boost log!
QMAKE_CFLAGS = -nologo -Zm200 -Zc:wchar_t
Qt since at least 4.6.3 can be built with native wchar_t, and works well with boost. The pre-built Qt libs were defaulted to not use native. Jeff
participants (3)
-
Andrey Semashev
-
Jeff Flinn
-
Renato Forti