Re: GNOME GTK-- Projects



Tero Pulkkinen wrote:
> 
> Michael Hudson <mwh21@cam.ac.uk> writes:
> > > whichever GTK+ configurable error reporting scheme (yet to be
> > > implemented), that doesn't use real exception handling (i.e. a
> > > hack)?  Is there any hope for being able to use exception
> > > handling in GTK--?
> >
> > So long as you delay the thrown excpetion until you're back in GTK-- land
> > you should be safe, but that's going to be hard, I should think.
> > Perhaps an error handler that set some appropriate static flag variable,
> > then when gtk returns normally, gtk-- would translate that into an
> > exception. Don't know if that would be feasible. (Don't mention threads).
> 
> There's one way to avoid this problem -- compiling gtk with C++ compiler..

Good point...

Of course, I'd hate to have to distribute an application (in
source form...binary wouldn't be a problem, right?) that required
a C++-compiled version of the GTK+ libraries.  In some circles,
the C vs. C++ battle rages almost as fierce as UNIX vs. NT and
GNOME vs. KDE.  (c;

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]