Opened 9 years ago

Closed 9 years ago

Last modified 5 years ago

#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:


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 lordhoto, 9 years ago

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.

comment:2 by lordhoto, 9 years ago

Owner: set to lordhoto
Resolution: invalid
Status: newclosed
Summary: 'noreturn' function does returnSYMBIAN: Warning "'noreturn' function does return" in error

comment:3 by digitall, 5 years ago

Component: --Unset--Port: Symbian
Note: See TracTickets for help on using tickets.