Bug 475118 - Header file causes redefinition errors
Header file causes redefinition errors
Product: Fedora
Classification: Fedora
Component: SDL_Pango (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Matthias Saou
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-12-07 19:23 EST by John Black
Modified: 2008-12-22 13:17 EST (History)
3 users (show)

See Also:
Fixed In Version: 0.1.2-9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-12-22 13:17:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description John Black 2008-12-07 19:23:41 EST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv: 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-07 19:25:12 EST
Created attachment 326062 [details]
Matrix declaraction patch
Comment 2 Matthias Saou 2008-12-22 13:17:52 EST
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.