Bug 164432 - Compilation fails with gcc 3
Summary: Compilation fails with gcc 3
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-19 07:17 UTC by Chris Spiegel
Modified: 2017-08-19 20:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 0.9.4
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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