diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-04 09:01:28 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-04 09:02:36 -0800 |
commit | b6927e08121d5ccd9ef061ec0c393a7e23220114 (patch) | |
tree | 1556ee1870fa1613962cb4535f781592c871d31d /lisp/time.h | |
parent | f5c245c4b24b25103fc6d8d3a77121a94689a5c0 (diff) |
Fix builds of lisp/core.c with Solaris Studio compilers
Required in order to build with Studio cc now that xorg-macros is
setting -errwarn=E_FUNC_HAS_NO_RETURN_STMT since a bug in the Solaris
system headers causes the noreturn attribute to not be correctly
applied to the exit() prototype in <stdlib.h> when building with
Studio instead of gcc.
Otherwise compiler exits with error:
"lisp/core.c", line 4329: Function has no return statement : Lisp_Quit
Uses Studio-specific pragma instead of adding another exit() prototype
with a noreturn attribute to avoid causing gcc to warn about having
a redundant prototype for the exit() function.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'lisp/time.h')
0 files changed, 0 insertions, 0 deletions