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: unassignedclangb...@nondot.org
Reporter: bique.alexan...@gmail.com
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs