[llvm-bugs] [Bug 40180] New: /Zc:alignedNew not supported

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Dec 29 01:30:11 PST 2018


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

            Bug ID: 40180
           Summary: /Zc:alignedNew not supported
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jvapen at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

MSVC allowes /Zc:alignedNew, see
https://docs.microsoft.com/en-us/cpp/build/reference/zc-alignednew?view=vs-2017

For clang-cl, you have to pass -Xclang -faligned-allocation to get the same
option.

-- 
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/20181229/b467932c/attachment.html>


More information about the llvm-bugs mailing list