#6623 closed defect (invalid)
SYMBIAN: Warning "'noreturn' function does return" in error
Reported by: | SF/superzanac | Owned by: | lordhoto |
---|---|---|---|
Priority: | normal | Component: | Port: Symbian |
Version: | Keywords: | ||
Cc: | Game: |
Description
Scummvn 1.7.0 from today sources
Compilation warnings - 'noreturn' function does return
Host platform - Win32, target plat - Symbian/ARM Compiler - GCCE 4.4.1 from Codesourcery for Symbian Compiler's log:
/Symbian/Projects/SDL/scummvm/common/textconsole.cpp: In function 'void error(const char*, ...)': /Symbian/Projects/SDL/scummvm/common/textconsole.cpp:111: warning: 'noreturn' function does return
Ticket imported from: bugs/6623.
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Owner: | set to |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Summary: | 'noreturn' function does return → SYMBIAN: Warning "'noreturn' function does return" in error |
comment:3 by , 6 years ago
Component: | --Unset-- → Port: Symbian |
---|
Note:
See TracTickets
for help on using tickets.
Looks like a false positive. exit should definitely not return and that's called at the end of all paths through the function. Probably exit isn't marked noreturn in your standard library.