Opened 19 years ago

Closed 19 years ago

Last modified 5 years ago

#1878 closed defect (fixed)

ALL: GCC 4.0 is not supported

Reported by: SF/toreanderson Owned by: fingolfin
Priority: normal Component: Port: Linux
Version: Keywords:
Cc: Game:


The following is from Andreas Jochens in <>:

>When building 'scummvm' on amd64 with gcc-4.0, >I get the following error: > >Looking for C++ compiler... g++ >Checking for compiler version... 4.0.0, bad >The version of your compiler is not supported at this time >Please ensure you are using GCC 2.95.x or GCC 3.x >make: *** [scummvm] Error 1 > >With the attached patch 'scummvm' can be compiled >on amd64 using gcc-4.0.

I haven't yet verified this bug, but figured I'd post it here ASAP so it could get fixed in 0.7.1 (I'm at work now and can't test it myself before this evening.)

Tore Anderson

Ticket imported from: #1097767. Ticket imported from: bugs/1878.

Attachments (1)

p (1.8 KB ) - added by SF/toreanderson 19 years ago.
Andreas' patch

Download all attachments as: .zip

Change History (8)

comment:1 by SF/toreanderson, 19 years ago

Summary: Build failure on tBuild failure on amd64 with gcc 4.0

by SF/toreanderson, 19 years ago

Attachment: p added

Andreas' patch

comment:2 by fingolfin, 19 years ago

Summary: Build failure on amd64 with gcc 4.0ALL: GCC 4.0 is not supported

comment:3 by fingolfin, 19 years ago

This isn't really a "bug", rather we simply do not yet support the not-yet release GCC 4.0. Since we have not yet done *any* testing with GCC 4.0, this appears to be the "right thing" to me. We could add it to the configure script and print a warning like WARNING: ScummVM was not tested with this compiler version

comment:4 by fingolfin, 19 years ago

Oh, I just noticed that the patch also attempts to fix some 64 bit issues. That part should be filed as a separate bug report, or a patch tracker item. However, the changes in scaler.cpp appear unnecessary, and the change in scumm/instrument.h just covers the real problem up.

comment:5 by fingolfin, 19 years ago

Owner: set to fingolfin
Resolution: fixed
Status: newclosed

comment:6 by fingolfin, 19 years ago

Ah well. I just added GCC 4.0 to the configure script, and now let's pray it actually works... as well as a not yet released version of a compiler which underwent major radical changes compared to the previous version may work... :-)

comment:7 by digitall, 5 years ago

Component: Port: Linux
Note: See TracTickets for help on using tickets.