[llvm-bugs] [Bug 25832] New: clang-cl: error when using #pragma pack with template structs

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Dec 15 04:44:33 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=25832

            Bug ID: 25832
           Summary: clang-cl: error when using #pragma pack with template
                    structs
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jascha at jawset.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15451
  --> https://llvm.org/bugs/attachment.cgi?id=15451&action=edit
reproducer for clang-cl error

Using clang-cl from r255486.

cudafe++ which is part of nvcc, generates these #pragma pack instances in
between template<> and struct statements.

With this out of the way, using nvcc with clang-cl as a host compiler
successfully compiles. I didn't test the results yet since i have too many
modules to manually fix the intermediate output files for all of them.

-- 
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/20151215/28d9a6eb/attachment.html>


More information about the llvm-bugs mailing list