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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to