Opened 21 years ago

Closed 21 years ago

Last modified 6 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 21 years ago.
Semicolons fix

Download all attachments as: .zip

Change History (6)

by SF/wolfblah, 21 years ago

Attachment: scummvm-gcc34.patch added

Semicolons fix

comment:1 by fingolfin, 21 years ago

Owner: set to fingolfin
Status: newclosed

comment:2 by fingolfin, 21 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, 21 years ago

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

comment:4 by fingolfin, 21 years ago

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

comment:5 by digitall, 6 years ago

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