Sigh ... it may be a compiler bug. I'm also not having this error when 
using std=c++0x and using gcc-4.6.

Regards,

Rutger



On 2012-06-04 09:00, Rutger ter Borg wrote:
>
> On 2012-06-04 08:15, Koen Deforche wrote:
>> Hey Rutger,
>>
>> We have several users using Wt with c++11, so that is not expected.
>>
>> Your test-case works for me on MacOSX and Ubuntu Linux (gcc 4.4.3),
>> with boost 1.37 and boost 1.48, and using c++0x as C++ target.
>>
>> What does valgrind say about the crashes you get ?
>>
>> Regards,
>> koen
>>
>
> Hello Koen,
>
> I'm compiling hello.C from the Wt examples, but from my own
> (cmake-based) compilation environment, using g++ 4.7.0, boost 1.49, and
> Wt 3.2.1,
>
> /usr/bin/c++ -DBOOST_ASIO_DISABLE_MOVE -DQT_NO_KEYWORDS -DQT_NO_DEBUG
> -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt4 -I/usr/include/qt4/QtGui
> -I/usr/include/qt4/QtCore -I/home/rutger/.../sandbox/wt -Wall -std=c++0x
> -pedantic -Wno-long-long -g -o CMakeFiles/hello_wt.dir/hello.C.o -c
> /home/rutger/.../sandbox/wt/hello.C
>
> /usr/bin/c++ CMakeFiles/hello_wt.dir/hello.C.o -o hello_wt -rdynamic
> -lwt -lwthttp -lboost_program_options-mt -lboost_signals-mt
> -lboost_system-mt -lboost_thread-mt
>
> the application starts, but the creation of the new WApplication crashes
> due to connecting a signal. Also see the file attached.
>
> The crash goes away when leaving out std=c++0x.
>
> Regards,
>
> Rutger
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to