URL:
<http://gna.org/bugs/?8267>
Summary: Failed to compile wormux trunk on Mandriva 2007
Project: Wormux
Submitted by: drayan
Submitted on: dimanche 14.01.2007 à 10:33
Hidden: Visible
Category: Compilation
Severity: 5 - Blocker
Priority: 7 - High
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: trunk
Discussion Lock: Any
_______________________________________________________
Details:
Using the gcc 4.1.1 on a Mandriva 2007 result in this error of compilation :
cc1plus: warnings being treated as errors
network/network.cpp: In member function âconst uint Network::GetPort()â:
network/network.cpp:423: warning: dereferencing type-punned pointer will
break strict-aliasing rules
make[3]: *** [network.o] Erreur 1
make[3]: quittant le répertoire « /home/droop/tmp/wormux/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/droop/tmp/wormux/src »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/droop/tmp/wormux/src »
make: *** [all-recursive] Erreur 1
Maybe we need to add this option during compilation :
-fno-strict-aliasing
[EMAIL PROTECTED] wormux]$ g++ -v
Using built-in specs.
Target: i586-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --enable-checking=release
--enable-languages=c,c++,ada,fortran,objc,obj-c++,java
--host=i586-mandriva-linux-gnu --with-cpu=generic --with-system-zlib
--enable-long-long --enable-__cxa_atexit --enable-clocale=gnu
--disable-libunwind-exceptions --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo
--enable-ssp --disable-libssp
Thread model: posix
gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?8267>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna