Bug 99190 - support GCC deprecated attribute for GCC older than 4.5
Summary: support GCC deprecated attribute for GCC older than 4.5
Status: RESOLVED FIXED
Alias: None
Product: libbsd
Classification: Unclassified
Component: libbsd (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Guillem Jover
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-23 08:07 UTC by Eric Smith
Modified: 2017-06-19 02:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch to use GCC deprecated attribute correctly depending on GCC version (1.12 KB, patch)
2016-12-23 08:07 UTC, Eric Smith
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Smith 2016-12-23 08:07:41 UTC
Created attachment 128645 [details] [review]
patch to use GCC deprecated attribute correctly depending on GCC version

Prior to GCC 4.5, the deprecated attribute did not accept an argument. This causes a problem when compiling bsd/stdio.h on {RHEL,CentOS}{5,6}.  I suggest the attached patch, or something similar, in order to support both older and newer GCC releases.
Comment 1 Guillem Jover 2017-06-19 02:52:29 UTC
This should be fixed now in libbsd 0.8.4. Closing.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.