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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to