| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2006.09.22 19:21 "Re: libjpeg", by Joris Van DammeBob Friesenhahn wrote: > Exceptions require using C++ (to throw and catch the exception) and > compiling the library (or at least linking it) using a C++ compiler. > It used to be that some C++ exception implementations were not thread > safe but current ones seem to be thread safe. C++ exceptions are > pretty portable on modern systems using modern compilers since they > are part of the C++ standard. Yes, still, it's C++, we likely don't want to go there inside LibTiff. Toby Thain wrote: > > 2) If this really is an issue, are exceptions a good alternative? > > Or do Linux guys not have exceptions? Are exceptions > > portable? > > Language issue merely. If you library is built in C, then no; in C++, > then yes. Yes... Anyone sees any options aside of longjump, exceptions, and synchronisation, that all seems to have clear disadvantages? Best regards, Joris Van Damme info@awaresystems.be http://www.awaresystems.be/ Download your free TIFF tag viewer for windows here: http://www.awaresystems.be/imaging/tiff/astifftagviewer.html |
|||||||