[llvm-bugs] [Bug 47014] New: Compile option /std:c++17 seems not handled correctly with clang-cl

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 6 06:08:22 PDT 2020


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

            Bug ID: 47014
           Summary: Compile option /std:c++17 seems not handled correctly
                    with clang-cl
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: bique.alexandre at gmail.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Hi,

I have the following and strange error messages:

2>clang-cl : warning : argument unused during compilation: '/std:c++17'
[-Wunused-command-line-argument]

followed by:

4>C:\dev\dev1\float\engine\slave\target\generated\src\main\include\flt/core/event/EnduringEventClass.h(15):
error C2429: language feature 'nested-namespace-definition' requires compiler
flag '/std:c++17'

How can that be possible?

I've also tried to pass an additional /clang:-std=c++17 but it did not help.

Thanks,
Alex

-- 
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/20200806/bd6f1b69/attachment.html>


More information about the llvm-bugs mailing list