Bug 164432

Summary: Compilation fails with gcc 3
Product: [Applications] digikam Reporter: Chris Spiegel <cspiegel>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.4

Description Chris Spiegel 2008-06-19 07:17:22 UTC
Version:           0.9.4-rc1 (using KDE 3.5.9)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.6 
OS:                Linux

The build of digikam 0.9.4-rc1 fails with gcc 3.4.6 because the -fno-tree-pre option is not supported.  This flag is set in digikam/libs/greycstoration/ directory.
Comment 1 caulier.gilles 2008-06-19 12:25:13 UTC
removing this gcc option will solve your problem. We need to check in with autotools witch gcc version is used to compile digiKam...

In fact, this option is mandatory with the GCC 4.3 witch have a bug. I think it will fixed in a near future.

Gilles Caulier
Comment 2 caulier.gilles 2008-07-03 11:09:17 UTC
SVN commit 827522 by cgilles:

digiKam from KDE3 branch : use KDE_CHECK_COMPILER_FLAG to test if gcc -fno-tree-pre is available instead an harcoded option passed in makefile.
BUGS: 164432


 M  +3 -3      NEWS  
 M  +12 -0     configure.in.in  
 M  +1 -4      libs/greycstoration/Makefile.am  


WebSVN link: http://websvn.kde.org/?view=rev&revision=827522