shirok / Gauche-gtk2

Reactivating Gauche-gtk bindings
http://practical-scheme.net/gauche/
Other
12 stars 3 forks source link

Use of vm-set-default-exception-handler in lib/gtk/error-dialog.scm #4

Closed tomonacci closed 9 years ago

tomonacci commented 9 years ago

When you run examples/error-dialog.scm with Gauche HEAD (version 0.9.5_pre1) you get undefined variable error saying vm-set-default-exception-handler is missing. According to Gauche's ChangeLog it seems it should be replaced with (with-module gauche.internal %vm-custom-error-reporter-set!) for version >= 0.9.5.

shirok commented 9 years ago

Actually just replacing vm-set-default-exception-handler doesn't work, for we also changed the semantics of Scm_ReportError (invoked in gauche-gtk's callback handling mechanism). I think we should handle custom error reporting within gauche-gtk.

shirok commented 9 years ago

Fix pushed