[LLVMbugs] [Bug 21337] New: #pragma section and "long" attribute

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 22 05:39:35 PDT 2014


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

            Bug ID: 21337
           Summary: #pragma section and "long" attribute
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ehysta at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

#pragma section(".CRT$XCA",long,read)

clang raises "expected action or ')' in '#pragma section' - ignored".
It seems, it doesn't understand "long" and breaks entire pragma.

This attribute seems to be undocumented (or deprecated since Win16 years), but
MSVC still uses it in CRT.

Should we eat this attribute as noop?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141022/496520bd/attachment.html>


More information about the llvm-bugs mailing list