#7607 closed feature request
Silence (a few) warnings (for me)
Reported by: | raziel- | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | Port: AmigaOS4 |
Version: | Keywords: | ||
Cc: | Game: |
Description (last modified by )
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)
Change History (4)
by , 17 years ago
Attachment: | Scummvm_Warnings.zip added |
---|
comment:1 by , 17 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 , 17 years ago
Status: | new → closed |
---|
comment:3 by , 6 years ago
Component: | → Port: AmigaOS4 |
---|---|
Description: | modified (diff) |
All the warnings i get while building