Mail Archives: cygwin-apps/2001/05/17/00:56:41
--0-1619816673-990075391=:3810
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Shortly (1 or 2 days) after 2.95.3 release, the sjlj fixes that were
taken out of 2.95.3 were put back into the branch. (From what I
understand they only caused problems on hpux). I have noted no
problems with them on mingw and they do fix some problems, for example:
exception not caught with -O1 or higher:
https://sourceforge.net/tracker/index.php?func=detail&aid=227047&group_id=2435&atid=102435
Attached diff file backports these to gcc-2.95.3-4 (cygwin-mingw
special).
NB: For cygwin, these patches are not dependent on ones earlier today,
but they are for mingw (since mingw hasn't released 2.95.3 midnight
special yet ;-\)
Danny
_____________________________________________________________________________
http://messenger.yahoo.com.au - Yahoo! Messenger
- Voice chat, mail alerts, stock quotes and favourite news and lots more!
--0-1619816673-990075391=:3810
Content-Type: application/octet-stream; name="sjlj.diff"
Content-Transfer-Encoding: base64
Content-Description: sjlj.diff
Content-Disposition: attachment; filename="sjlj.diff"
Q2hhbmdlTG9nCjIwMDEtMDUtMTcgIERhbm55IFNtaXRoICA8ZGFubnlfcl9z
bWl0aF8yMDAxQHlhaG9vLmNvbS5uej4KCglCYWNrcG9ydCBzamxqIGVoIGZp
eGVzIGludG8gZ2NjIDIuOTUuMyAobWluZ3ctY3lnd2luIHNwZWNpYWwpCgky
MDAxLTAzLTE5ICBCZXJuZCBTY2htaWR0ICA8YmVybmRzQHJlZGhhdC5jb20+
CgoJQnJpbmcgYmFjayB0aGUgc2psaiBlaCBmaXhlcy4KCSogZXhwci5jIChl
eHBhbmRfYnVpbHRpbl9zZXRqbXBfc2V0dXApOiBOZXcuCgkoZXhwYW5kX2J1
aWx0aW5fc2V0am1wX3JlY2VpdmVyKTogTmV3LgoJKGV4cGFuZF9idWlsdGlu
X3NldGptcCk6IFNwbGl0IG91dCBfc2V0dXAgYW5kIF9yZWNlaXZlciBmdW5j
dGlvbnMuCglNb3ZlIGFyZ3VtZW50IHBhcnNpbmcgaW4gZnJ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