[Digikam-devel] [Bug 148014] crash when synchronising album

Gilles Caulier caulier.gilles at gmail.com
Sat Aug 25 09:03:16 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=148014         




------- Additional Comments From caulier.gilles gmail com  2007-08-25 10:03 -------
SVN commit 704515 by cgilles:

libkexiv2 from KDE3 branch : backport Marcel commit #693337 from trunk (KDE4) about to handle properly Exiv2 exceptions, depending of GCC visility option use to compile.
CCBUGS: 148014
--This l from KDEine, and those below, will be ignored--

M    kexiv2.cpp


 M  +6 -0      kexiv2.cpp  


--- branches/extragear/kde3/libs/libkexiv2/libkexiv2/kexiv2.cpp #704514:704515
 @ -51,12 +51,18  @
 
 // Exiv2 includes.
 
+// The pragmas are required to be able to catch exceptions thrown by libexiv2:
+// See http://gcc.gnu.org/wiki/Visibility, the section about c++ exceptions.
+// They are needed for all libexiv2 versions that do not care about visibility.
+#pragma GCC visibility push(default)
+#include <exiv2/error.hpp>
 #include <exiv2/image.hpp>
 #include <exiv2/jpgimage.hpp>
 #include <exiv2/datasets.hpp>
 #include <exiv2/tags.hpp>
 #include <exiv2/types.hpp>
 #include <exiv2/exif.hpp>
+#pragma GCC visibility pop
 
 // Make sure an EXIV2_TEST_VERSION macro exists:



More information about the Digikam-devel mailing list