Bug 99190

Summary: support GCC deprecated attribute for GCC older than 4.5
Product: libbsd Reporter: Eric Smith <brouhaha>
Component: libbsdAssignee: Guillem Jover <guillem>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch to use GCC deprecated attribute correctly depending on GCC version

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.