[MinGW-dvlpr] [Re]move w32api/include/excpt.h
Thu May 30 18:50:00 GMT 2002
--- Danny Smith <firstname.lastname@example.org> wrote:
> The w32api and mingw-runtime each conatin a file called excpt.h
> The one in the w32api just defines __try, __except, __finally as
> no-ops and lets some code "at least" compile. I would like to get rid of
> file, so mingw has only one excpt.h and we don't have the perennial problem
> of one overwriting the other, depending on order of installation.
> This patch puts the no-op defines in windef.h, so that they are still
> available to cygwin users of w32api and to mingw. Alternative option
> is to put them in the mingw-runtime version of excpt.h and thus remove
> them from cygwin.
I think this is a good compromise.
> I think they should go in the rubbish, but others may like to have code
> that compiles and links fine and then crashes at runtime.
Me too, so I think your __SEH_NOOP should be implemented. That way the analyst
> No, I don't mean to stir up a long debate over this, I just want to get rid
> the file somehow.
I'm glad you have. On a side note, have you looked at the SEH patch that was
on the mingw-users list a month or so ago? I put it on my round tuit list but
that's a deep stack.
--- <http://earniesystems.safeshopper.com> ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
--- Minimalist GNU for Windows <http://www.mingw.org/> ---
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
More information about the Cygwin-patches