This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/45300] New: in cstdio/cstdlib keyword restrict is used instead of __restrict


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]