[PATCH 5/5] Add dummy return 0 to Xnest & Xephyr io error handler for Sun compilers

Mikhail Gusarov dottedmag at dottedmag.net
Fri Dec 2 14:03:24 PST 2011

Twas brillig at 10:48:16 02.12.2011 UTC-08 when alan.coopersmith at oracle.com did gyre and gimble:

 AC> Required in order to build with Studio cc now that xorg-macros is
 AC> setting -errwarn=E_FUNC_HAS_NO_RETURN_STMT since it doesn't
 AC> recognize that the noreturn attribute makes it pointless.

Is there any way to tell this compiler that exit(3) does not return?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111202/20bdf3a7/attachment-0001.pgp>

More information about the xorg-devel mailing list