[LLVMbugs] [Bug 1950] New: duplicate functions protos and __restrict throw bogus warning

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jan 27 11:35:41 PST 2008


           Summary: duplicate functions protos and __restrict throw bogus
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nunoplopes at sapo.pt
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1354)
 --> (http://llvm.org/bugs/attachment.cgi?id=1354)

gcc treats pointer and pointer __restrict as the same when handling duplicate
function protos.

int foo (__const char *__path);
int foo(__const char *__restrict __file);

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list