Opened 20 years ago

Closed 20 years ago

Last modified 5 years ago

#1537 closed defect

Bad code - additional semicolons

Reported by: SF/wolfblah Owned by: fingolfin
Priority: normal Component: --Other--
Version: Keywords:
Cc: Game:

Description

Scummvm cannot compile on gcc 3.4 because of additional semicolons after function bodys in some files. Attached fix.

Ticket imported from: #917503. Ticket imported from: bugs/1537.

Attachments (1)

scummvm-gcc34.patch (1.4 KB ) - added by SF/wolfblah 20 years ago.
Semicolons fix

Download all attachments as: .zip

Change History (6)

by SF/wolfblah, 20 years ago

Attachment: scummvm-gcc34.patch added

Semicolons fix

comment:1 by fingolfin, 20 years ago

Owner: set to fingolfin
Status: newclosed

comment:2 by fingolfin, 20 years ago

Generating a warning for stray semicolons, fine. But an error ??? Are you maybe using -Werror? If not, possibly file a bug report against GCC, before they actually release 3.4 =)

comment:3 by SF/wolfblah, 20 years ago

No, it's because you're using -pedantic in CXXFLAGS :)

comment:4 by fingolfin, 20 years ago

it still shouldn't be an error, but rather just warning

comment:5 by digitall, 5 years ago

Component: --Other--
Note: See TracTickets for help on using tickets.