Laurent Defert a écrit :
>> (gdb) print queue.size()
>> $2 = 1
>> (gdb) print queue.front()->GetTimestamp()
>> $3 = 162320416
>> (gdb) print queue.front()
>> $4 = (Action *&) @0x9acd310: 0x9accb38
>> (gdb) print a
>> $5 = (Action *) 0x9accb38

The worst is that print queue.front()->m_timestamp returns the correct
value 0 and that queue.front()->GetTimestamp is really pointing to an
Action method.

Same with:
- gcc 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
- gcc 3.4.6 (Ubuntu 3.4.6-5ubuntu1)

Debug session crashes under windows. Error with gcc 3.3.6 (Ubuntu
1:3.3.6-15ubuntu1) attached as error.txt

Best regards,
Kurosu
if g++-3.3 -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -DINSTALL_DATADIR=\"/home/kurosu/share/wormux\" 
-DINSTALL_LOCALEDIR=\"/home/kurosu/share/locale\" 
-DFONT_FILE=\"/home/kurosu/share/wormux/font/DejaVuSans.ttf\" 
-DPACKAGE_VERSION=\"0.8beta1\"  -Werror -I ../src/ -Wall -W 
-Wno-unused-parameter -O0 -g -DDEBUG -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include 
-I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include 
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include    -I/usr/include/libpng12   -MT network_client.o 
-MD -MP -MF ".deps/network_client.Tpo" -c -o network_client.o `test -f 
'network/network_client.cpp' || echo './'`network/network_client.cpp; \
        then mv -f ".deps/network_client.Tpo" ".deps/network_client.Po"; else 
rm -f ".deps/network_client.Tpo"; exit 1; fi
In file included from network/network_client.cpp:22:
network/network_client.h:40: error: wrong number of template arguments (1, 
   should be 3)
/usr/include/c++/3.3/bits/stl_list.h:144: error: provided for `template<class 
   _Tp, class _Ref, class _Ptr> struct std::_List_iterator'
network/network_client.h:40: error: wrong number of template arguments (1, 
   should be 3)
/usr/include/c++/3.3/bits/stl_list.h:144: error: provided for `template<class 
   _Tp, class _Ref, class _Ptr> struct std::_List_iterator'
network/network_client.h:40: error: le C++ ISO interdit la déclaration de « 
   CloseConnection » sans type
network/network_client.h:40: error: le C++ ISO interdit la déclaration de « 
   parameter » sans type
network/network_client.cpp:58: error: prototype for `
   std::_List_iterator<DistantComputer*, DistantComputer*&, DistantComputer**> 
   NetworkClient::CloseConnection(std::_List_iterator<DistantComputer*, 
   DistantComputer*&, DistantComputer**>)' does not match any in class `
   NetworkClient'
network/network_client.h:40: error: candidate is: int 
   NetworkClient::CloseConnection(int)
make[3]: *** [network_client.o] Erreur 1
_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à