Bug 449669
Summary: | Invalid glib2 headers cause compile errors | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Marcin Garski <mgarski> |
Component: | xscorch | Assignee: | Marcin Garski <mgarski> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 10 | CC: | ftbfs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
URL: | http://linux.dell.com/files/fedora/FixBuildRequires/mock-results-core/x86_64/xscorch-0.2.0-12.fc8.src.rpm/result/root.log | ||
Whiteboard: | |||
Fixed In Version: | 0.2.1-0.2.pre1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-05-26 23:06:29 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 449651 |
Description
Marcin Garski
2008-06-02 22:55:46 UTC
The problem is actually in the xscorch headers, in libj/libj.h /* unused is a special attribute indicating a function argument is ignored within the function; this is useful for functions which MUST accept an argument because they escape, but do not actually access the argument. */ #ifndef unused #if __GNUC__ && LIBJ_C99_STANDARD #define unused __attribute__((unused)) #else /* Not C99 code */ #define unused #endif /* LIBJ_C99_STANDARD? */ #endif /* unused undefined? */ doing that is obviously not a good idea. Removing this define makes the errors in the glib headers go away. Of course, it then fails later on where the xscorch sources use 'unused'... *** Bug 449651 has been marked as a duplicate of this bug. *** *** Bug 465107 has been marked as a duplicate of this bug. *** This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fixed by updating to 0.2.1-pre1. |