Add wrappers for ExitProcess, TerminateProcess

Dave Korn
Wed Oct 7 18:07:00 GMT 2009

Charles Wilson wrote:

> It is already marked noreturn, in the declaration at the top of the
> file.  I got an error when I marked the definition that way --
> apparently gcc4 doesn't like that:
> /usr/src/devel/kernel/src/winsup/cygwin/ error:
> attributes are not allowed on a function-definition
> I even tried to include the attribute on a (forward) declaration AND the
> definition, but I got the same error.  The only thing that works is the
> way I've already done it: apply the attribute to the (forward)
> declaration, but not the definition.

  There's been some tightening-up on the syntax of attribute specifications
recently, since they used to be ambiguous and often under-strictly parsed
and/or not/mis-diagnosed.  FYI, FTR etc.


More information about the Cygwin-patches mailing list