Bug 502319 - cairommconfig.h defines PACKAGE_* macros
cairommconfig.h defines PACKAGE_* macros
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: cairomm (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Rick L Vinyard Jr
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-23 16:43 EDT by Debarshi Ray
Modified: 2009-11-18 14:44 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-11-18 14:44:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Debarshi Ray 2009-05-23 16:43:59 EDT
Description of problem:
In the new update to cairomm-1.8.0, cairommconfig.h defines PACKAGE_* macros causing a bunch of compiler warnings.


Version-Release number of selected component (if applicable):
cairomm-1.8.0-1.fc10.x86_64


How reproducible:
Try to compile with CFLAGS="-Wall" some code which does:

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif // HAVE_CONFIG_H

#include <cairomm/cairomm.h>
  
Actual results:
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from cell-renderer-thumbnail.cpp:25:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:69:1: warning: "PACKAGE" redefined
In file included from cell-renderer-thumbnail.cpp:20:
../../config.h:56:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from cell-renderer-thumbnail.cpp:25:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:75:1: warning: "PACKAGE_NAME" redefined
In file included from cell-renderer-thumbnail.cpp:20:
../../config.h:62:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from cell-renderer-thumbnail.cpp:25:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:78:1: warning: "PACKAGE_STRING" redefined
In file included from cell-renderer-thumbnail.cpp:20:
../../config.h:65:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from cell-renderer-thumbnail.cpp:25:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:81:1: warning: "PACKAGE_TARNAME" redefined
In file included from cell-renderer-thumbnail.cpp:20:
../../config.h:68:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from cell-renderer-thumbnail.cpp:25:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:84:1: warning: "PACKAGE_VERSION" redefined
In file included from cell-renderer-thumbnail.cpp:20:
../../config.h:71:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from cell-renderer-thumbnail.cpp:25:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:90:1: warning: "VERSION" redefined
In file included from cell-renderer-thumbnail.cpp:20:
../../config.h:77:1: warning: this is the location of the previous definition


Expected results:
There should not be any warnings.
Comment 1 Bug Zapper 2009-11-18 07:01:25 EST
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '10'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 10's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 10 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Comment 2 Rick L Vinyard Jr 2009-11-18 14:44:14 EST
This is fixed in the 1.8.4 release in rawhide. There are issues backporting 1.8.4 to Fedora 10, 11 and 12 due to a bug in ABI backward compatibility.

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