Bug 475118 - Header file causes redefinition errors
Summary: Header file causes redefinition errors
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: SDL_Pango
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthias Saou
QA Contact: Fedora Extras Quality Assurance
URL: http://paste2.org/p/112249
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-08 00:23 UTC by John Black
Modified: 2008-12-22 18:17 UTC (History)
3 users (show)

Fixed In Version: 0.1.2-9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-22 18:17:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Matrix declaraction patch (4.22 KB, patch)
2008-12-08 00:25 UTC, John Black
no flags Details | Diff

Description John Black 2008-12-08 00:23:41 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111318 Ubuntu/8.10 (intrepid) Firefox/3.0.4

The header file defines a number of _MATRIX* SDLPango_Matrix's which should be defined in the library. This causes any software that includes the header file in more then one source file to fail.

Reproducible: Always




The debian source diff includes a patch to fix this bug, I will attached it. It also has some patches for api additions and some other bug fixes.

Comment 1 John Black 2008-12-08 00:25:12 UTC
Created attachment 326062 [details]
Matrix declaraction patch

Comment 2 Matthias Saou 2008-12-22 18:17:52 UTC
Thanks a lot for the report! I've included this patch in devel, though I've had to adapt it in order for it to apply and not loose the warning fixes from another included patch.


Note You need to log in before you can comment on or make changes to this bug.