[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


http://llvm.org/bugs/show_bug.cgi?id=1950

           Summary: duplicate functions protos and __restrict throw bogus
                    warning
           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)
patch

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

e.g.:
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