[LLVMbugs] [Bug 10364] New: ptrdiff_t and size_t used unqualified

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 14 16:02:30 PDT 2011


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

           Summary: ptrdiff_t and size_t used unqualified
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Support Libraries
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: scshunt at csclub.uwaterloo.ca
                CC: llvmbugs at cs.uiuc.edu


We use ptrdiff_t and size_t frequently without qualifying them, which won't
work on a C++ library that does not declare them in the global namespace.
Probably the best approach is just to import them into the llvm namespace, but
we could also go qualifying them everywhere.

-- 
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