Opened 15 years ago

Closed 15 years ago

Last modified 9 months ago

#1878 closed defect (fixed)

ALL: GCC 4.0 is not supported

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

Description

The following is from Andreas Jochens in
<http://bugs.debian.org/289122>:

>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 15 years ago.
Andreas' patch

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by SF/toreanderson

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

Changed 15 years ago by SF/toreanderson

Attachment: p added

Andreas' patch

comment:2 Changed 15 years ago by fingolfin

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

comment:3 Changed 15 years ago by fingolfin

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 Changed 15 years ago by fingolfin

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 Changed 15 years ago by fingolfin

Owner: set to fingolfin
Resolution: fixed
Status: newclosed

comment:6 Changed 15 years ago by fingolfin

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 Changed 9 months ago by digitall

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