This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13553] New: Remove __const, __signed, __volatile
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 03 Jan 2012 22:13:25 +0000
- Subject: [Bug libc/13553] New: Remove __const, __signed, __volatile
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13553
Bug #: 13553
Summary: Remove __const, __signed, __volatile
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper.fsp@gmail.com
ReportedBy: jsm28@gcc.gnu.org
Classification: Unclassified
sys/cdefs.h still defines __const, __signed and __volatile for non-GCC
compilers, to support headers using those versions of keywords. But support
for non-ISO C compilers was removed in glibc 2.2. So use of __const, __signed
and __volatile in glibc headers is just a relic of old support for pre-C90
compilers; the headers should be changed to use plain "const" etc., and the
definitions in sys/cdefs.h removed.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.