This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/45300] New: in cstdio/cstdlib keyword restrict is used instead of __restrict
- From: "ktietz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Aug 2010 16:54:03 -0000
- Subject: [Bug libstdc++/45300] New: in cstdio/cstdlib keyword restrict is used instead of __restrict
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
We noticed that in the headers cstdio and cstdlib the c99 keyword "restrict" is
used unconditionally. AFAICS it should be used here __restrict instead.
By user-report - I've got - it leads to the issue that the "restrict" keyword
gets interpreted as argument name for non c99.
--
Summary: in cstdio/cstdlib keyword restrict is used instead of
__restrict
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ktietz at gcc dot gnu dot org
GCC target triplet: x86_64-*-* i686-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45300