Re: [Wormux-dev] Fighting integer overflow/wrap

2010-02-08 Par sujet Matthieu Fertré
Le 07.02.2010 18:45, Julien PUYDT a écrit : > Matthieu Fertré a écrit : > >> I'm quite fed up with integer overflow/wrap. Unsigned integers in >> particular are particularly dangerous [1]. Last week, I have again fixed >> a bug related to unsigned int wrap (uint length = 0 - 4, the result of

Re: [Wormux-dev] Fighting integer overflow/wrap

2010-02-08 Par sujet Matthieu Fertré
Hi, Le 07.02.2010 19:04, Florian Köberle a écrit : > Hello gentildemon > > I too have thought about doing something against the unsigned integers > in wormux. > Unsigned integers in C++ are a bad thing in my opinion for the following > reasons: > 1. They overflow easily. > 2. Their overflow behavi

[Wormux-dev] Build break

2010-02-08 Par sujet Robert Clausecker
Dear Wormux team I want you to notify, that there is a build-break in current SVNrevision #7469. The file src/weapon/weapon.cpp causes the break: weapon.o: In function `Weapon::Draw()': (...)/src/weapon/weapon.cpp:576: undefined reference to `IsLOGGING(char const*)' collect2: ld returned 1 exit s

Re: [Wormux-dev] Build break

2010-02-08 Par sujet Matthieu Fertré
Hi, hm, could you copy-paste in some pastebin the whole log ? I do not see any change that can be responsible of such error. Have you re-run ./configure with different options recently without calling make clean afterwards ? Regards, Matt (gentildemon) Le 08/02/2010 16:42, Robert Clausecker