[Digikam-devel] [Bug 133525] New: digikam doesn't compile (KDE forces -fno-exception, digikam needs it)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 133525] New: digikam doesn't compile (KDE forces -fno-exception, digikam needs it)

Patrick Nagel
------- 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=133525         
           Summary: digikam doesn't compile (KDE forces -fno-exception,
                    digikam needs it)
           Product: digikam
           Version: 0.9.0-beta1
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: mail patrick-nagel net


Version:           0.9.0-beta1 (using KDE KDE 3.5.4)
Installed from:    Gentoo Packages
Compiler:          gcc-4.1.1
OS:                Linux

KDE forces -fno-exception but digikam fails to compile when that option is set. This is what I have been told in gentoo's Bugzilla. One of gentoo's package maintainers for KDE (Ioannis Aslanidis aka deathwing00) says this could be an upstream bug, so I'm reporting it here. For details, please see https://bugs.gentoo.org/show_bug.cgi?id=145889

The error messages during the compile are as follows:

/bin/sh ../../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include -I../../../../digikam/libs/dimg -I../../../../digikam/libs/dmetadata -I../../../../digikam/libs/dcraw -I../../../../digikam/digikam -I../../../../digikam  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium-m -msse3 -funroll-loops -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE  -c -o rawloader.lo rawloader.cpp
In file included from ../../../../digikam/digikam/digikam_export.h:25,
                 from ../../../../digikam/libs/dimg/dimg.h:36,
                 from jpegloader.cpp:52:
../../../../config.h:56:1: warning: "HAVE_STDLIB_H" redefined
In file included from /usr/include/jpeglib.h:28,
                 from iccjpeg.h:43,
                 from jpegloader.cpp:33:
/usr/include/jconfig.h:12:1: warning: this is the location of the previous definition
jpegloader.cpp:75: warning: unused parameter 'msg_level'
/usr/local/include/exiv2/exif.hpp: In member function 'virtual const Exiv2::Value& Exiv2::Exifdatum::value() const':
/usr/local/include/exiv2/exif.hpp:287: error: exception handling disabled, use -fexceptions to enable
make[5]: *** [tiffloader.lo] Fehler 1
make[5]: *** Warte auf noch nicht beendete Prozesse...
make[5]: Leaving directory `/var/tmp/portage/digikam-0.9.0_beta1-r2/work/digikam-0.9.0-beta1/digikam/libs/dimg/loaders'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/digikam-0.9.0_beta1-r2/work/digikam-0.9.0-beta1/digikam/libs/dimg'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/digikam-0.9.0_beta1-r2/work/digikam-0.9.0-beta1/digikam/libs'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/digikam-0.9.0_beta1-r2/work/digikam-0.9.0-beta1/digikam'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/digikam-0.9.0_beta1-r2/work/digikam-0.9.0-beta1'
make: *** [all] Fehler 2

Cheers, Patrick.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 133525] digikam doesn't compile (KDE forces -fno-exception, digikam needs it)

Gilles Caulier
------- 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=133525         
caulier.gilles free fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From caulier.gilles free fr  2006-09-04 08:06 -------
SVN commit 580635 by cgilles:

digiKam from trunk: fix C++ Exception rules require by Exiv2 library
BUG: 133525


 M  +1 -0      Makefile.am  


--- trunk/extragear/graphics/digikam/libs/dimg/loaders/Makefile.am #580634:580635
 @ -1,4 +1,5  @
 METASOURCES = AUTO
+KDE_CXXFLAGS = $(USE_EXCEPTIONS)
 
 noinst_LTLIBRARIES = libdimgloaders.la
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel