build warning for noreturn function that does return
The warning showed up with gcc on msdos (__DJGPP__) end.c: In function 'nh_terminate': end.c:1729:1: warning: 'noreturn' function does return } ^
This commit is contained in:
@@ -53,7 +53,7 @@ Version _WIN_32IE Platform/IE
|
||||
/*#define COMCTL_URL
|
||||
* "http://www.microsoft.com/msdownload/ieplatform/ie/comctrlx86.asp"*/
|
||||
|
||||
extern void FDECL(nethack_exit, (int));
|
||||
extern void FDECL(nethack_exit, (int)) NORETURN;
|
||||
static TCHAR *_get_cmd_arg(TCHAR *pCmdLine);
|
||||
static HRESULT GetComCtlVersion(LPDWORD pdwMajor, LPDWORD pdwMinor);
|
||||
BOOL WINAPI
|
||||
|
||||
Reference in New Issue
Block a user