Hi!

I noticed that gcc 4.1 is producing bad code with boost libraries, so WengoPhone
is crashing very often.

In particular automatic slot disconnection upon object destruction is not
working right.

To test if your compiler is broken, you can try to compile and run this file:
http://netgroup.polito.it/~cavedon/test-gcc-boost.cc
this should be the correct output
http://netgroup.polito.it/~cavedon/test-gcc-boost.out

I have tried under Ubuntu edgy:
BAD: gcc-4.1 (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
OK: gcc-4.0 (GCC) 4.0.4 20060630 (prerelease) (Ubuntu 4.0.3-4)
OK: gcc-3.4

Recompiling wengophone with gcc 4.0, some of the crash disappeared!

I think a note like this should be placed on the wiki page about building the
code, becouse many people are using Ubuntu, I think.

Regards,
Ludovico

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to