#6621 closed defect (fixed)
Compilation warning : array subscript is above array bounds
Reported by: | SF/superzanac | Owned by: | digitall |
---|---|---|---|
Priority: | normal | Component: | Engine: TsAGE |
Version: | Keywords: | ||
Cc: | Game: | Return to Ringworld |
Description
Scummvn 1.7.0 from today sources
Compilation warnings - array subscript is above array bounds
Host platform - Win32, target plat - Symbian/ARM Compiler - GCCE 4.4.1 from Codesourcery for Symbian
Compiler's log:
/Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp: In member function 'void TsAGE::Ringworld2::Scene1337::handlePlayer1()': /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:5982: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:5987: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:5982: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:5982: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:5982: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:4935: warning: array subscript is above array bounds
Ticket imported from: bugs/6621.
Change History (9)
comment:1 by , 10 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → pending |
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Still one warning remain:
/Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp: In member function 'void TsAGE::Ringworld2::Scene1337::handlePlayer1()': /Symbian/Projects/SDL/scummvm/engines/tsage/ringworld2/ringworld2_scenes1.cpp:5997: warning: array subscript is above array bounds
comment:4 by , 10 years ago
Corrected fix in 06b01b8920ec36b31fe9bb758a75bbaf9809686d.
zanac: Please try compiling with the latest Git master and see if all the warnings are fixed now please?
comment:6 by , 10 years ago
Errm... Not sure what you meant by erasing the last comment, but assuming your original comment of "problem fixed" is correct. Closing.
comment:7 by , 10 years ago
Oh and in future, don't edit comments. It is confusing and the e-mail notifications mismatch anyway, so it is likely your meaning may get lost.
comment:8 by , 10 years ago
Status: | pending → closed |
---|
comment:9 by , 10 years ago
digitall, sorry about that, I test another compilation warning but write here.
Fixed warnings in 560812bd5e46240c3a9ec074a11ba9169e95ce19.
zanac: Please try compiling with the latest Git master and see if all the warnings are fixed please?