Opened 12 years ago

Closed 12 years ago

Last modified 13 months ago

#7607 closed enhancement

Silence (a few) warnings (for me)

Reported by: raziel- Owned by:
Priority: normal Component: Port: AmigaOS4
Keywords: Cc:
Game:

Description (last modified by digitall)

ScummVM 0.11.0svn (Dec 16 2007 09:01:40)
Features compiled in: Vorbis FLAC MP3 zLib MPEG2

Thanks to LordHoto for the initial fixes, i got alot
of those in other enigines, too (although i don't know
if those can be easily adapted to other engines aswell)

[22:20:44] <LordHoto> well the problem is that your system defines int32 as signed long, which is perfectly valid, but printf would require %ld instead of %d for signed long
[22:21:05] <LordHoto> but since other systems are using signed int instead of signed long, which would require just %d again, there's nothing that can be done about it
[22:21:24] <CIA-36> lordhoto * rb29864 /scummvm/trunk/engines/kyra/ (saveload_v1.cpp screen.cpp staticres.cpp vqa.cpp)n: debug(C) parameter type fixes.
[22:21:46] <LordHoto> anyway my commit now should at least fix the ones complaing about "'%c' expects type 'int', but argument X has type 'long unsigned int'"

Thanks for your effort to all the devs

Ticket imported from: #1851741. Ticket imported from: feature-requests/423.

Attachments (1)

Scummvm_Warnings.zip (8.5 KB ) - added by raziel- 12 years ago.
All the warnings i get while building

Download all attachments as: .zip

Change History (4)

by raziel-, 12 years ago

Attachment: Scummvm_Warnings.zip added

All the warnings i get while building

comment:1 by fingolfin, 12 years ago

I don't think we can do much about printf warnings on your system. But you could try to at least disable them. The "-Wformat" is responsible for those switches, try something like -Wno-format or so to disable it.

comment:2 by fingolfin, 12 years ago

Status: newclosed

comment:3 by digitall, 13 months ago

Component: Port: AmigaOS4
Description: modified (diff)
Note: See TracTickets for help on using tickets.