Bug 108292 - Patch for compilation on gcc4
Summary: Patch for compilation on gcc4
Status: CLOSED FIXED
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-28 22:01 UTC by Jochen Schmitt
Modified: 2012-08-11 12:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Schmitt 2005-06-28 22:01:23 UTC
Version:           1.4 (using KDE KDE 3.4.1)
Installed from:    Compiled From Sources
Compiler:          gcc-4.0.0-13 
OS:                Linux

I have create a patch to compiled
koffice-1.4 on Fedora Core Linux 4,
becouse I have got some compilation errors.

You can download the patch from:

http://www.herr-schmitt.de/pub/kofiice/koffice-1.4.0-gcc.patch
Comment 1 Thiago Macieira 2005-06-29 05:57:10 UTC
Can you describe what the errors were?
Comment 2 Nicolas Goutte 2005-06-29 16:20:17 UTC
The part for the AI filter for Karbon seems to have been already fixed (trunk and branch).

I have not checked the Kexi part, so moving this bug to Kexi.



As for the URL of the patch, it is in reality:

http://www.herr-schmitt.de/pub/koffice/koffice-1.4.0-gcc.patch 

Have a nice day!
 
 
Comment 3 Jarosław Staniek 2005-06-29 16:27:00 UTC
IIRC, a bug because of how gcc4 handles (more scrictly) declaration of friendliness when namespaces are used.

Already fixed in Kexi 0.8 (KOffice 1.4), also explicity changed a scope for:

friend class KexiLabel;

to 

friend class ::KexiLabel;