[LLVMbugs] [Bug 22082] New: MS pragma comment does not support idiomatic include

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 2 13:07:31 PST 2015


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

            Bug ID: 22082
           Summary: MS pragma comment does not support idiomatic include
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

consider:
void f(void) {
#pragma comment(linker, "/include:"__FUNCDNAME__)
}

we will reject claiming:
pragma comment requires parenthesized identifier and optional string

MSVC accepts.

-- 
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/20150102/db51f5e1/attachment.html>


More information about the llvm-bugs mailing list