[LLVMbugs] [Bug 7339] New: Function attribute position

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 9 17:52:17 PDT 2010


           Summary: Function attribute position
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: John.Thompson.JTSoftware at gmail.com
                CC: llvmbugs at cs.uiuc.edu

file.cpp:70474:13: warning: attribute declaration must precede definition
extern bool func(const void *pPtr) __attribute__((__const__));

gcc seems to allow attributes at the end of the function declaration:

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