bugBos Wars - Bugs: bug #22967, Compile errors with g++ 3.4.0/linux

 
 

bug #22967: Compile errors with g++ 3.4.0/linux

Submitted by:  None
Submitted on:  Thu 17 Apr 2008 05:10:47 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Jimmy Salmon <jsalmon3>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 26 Apr 2008 06:33:07 AM UTC, comment #2:

Thanks for the bug report, this should be fixed now.

Jimmy Salmon <jsalmon3>In charge of this item.
Thu 17 Apr 2008 05:14:29 PM UTC, comment #1:

Sorry for messing up the gcc version number in the subject line. Should be 4.3.0, of course.

Anonymous
Thu 17 Apr 2008 05:10:47 PM UTC, original submission:

I got some errors compiling boswars 2.5, caused by two missing #includes.

Here's the output of 'g++ -v'

Es werden eingebaute Spezifikationen verwendet.
Ziel: i686-pc-linux-gnu
Konfiguriert mit: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix --mandir=/usr/share/man --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
Thread-Modell: posix
gcc-Version 4.3.0 (GCC)

And here are the two missing includes:

-File "engine/pathfinder/astar.cpp", error "abs not defined", missing "#include <stdlib.h>"
-File "engine/stratagus/stratagus.cpp", error "find not defined", missing "#include <algorithm>"

If you prefer diff's, ther's one attached.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #15477:  boswars.diff added by None (965B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 26 Apr 2008 06:33:07 AM UTCjsalmon3StatusNone=>Fixed
  Assigned toNone=>jsalmon3
  Open/ClosedOpen=>Closed
Thu 17 Apr 2008 05:10:47 PM UTCNoneAttached File-=>Added boswars.diff, #15477

Back to the top


Powered by Savane 3.1-cleanup1