[LLVMbugs] [Bug 11062] New: inline keyword ignored for function called strlcpy

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 4 17:22:57 PDT 2011


           Summary: inline keyword ignored for function called strlcpy
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: crigler at gmail.com
                CC: llvmbugs at cs.uiuc.edu

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

clang in -std=c99 mode ignores the inline keyword when used on a function
called strlcpy, causing the code to always be emitted. It works if the function
is renamed to my_strlcpy. gcc -std=c99 works either way.

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