[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libcruft/misc/f77-fcn.c: function declared 'noreturn' has a 'return' sta
From: |
CdeMills |
Subject: |
libcruft/misc/f77-fcn.c: function declared 'noreturn' has a 'return' statement |
Date: |
Fri, 14 Jan 2011 05:50:42 -0800 (PST) |
Warning says it all. Function is declared in the header as
F77_FUNC (xstopx, XSTOPX) (F77_CONST_CHAR_ARG_DECL
F77_CHAR_ARG_LEN_DECL) GCC_ATTR_NORETURN;
and body is
F77_RET_T
F77_FUNC (xstopx, XSTOPX) (const char *s, int slen)
{ /* body */
F77_RETURN (0)
}
Should the GCC_ATTR_NORETURN be dropped from the header ?
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/libcruft-misc-f77-fcn-c-function-declared-noreturn-has-a-return-statement-tp3217673p3217673.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- libcruft/misc/f77-fcn.c: function declared 'noreturn' has a 'return' statement,
CdeMills <=