[llvm-bugs] [Bug 43067] New: Default C++ -std is C++18
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 20 13:32:14 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43067
Bug ID: 43067
Summary: Default C++ -std is C++18
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: CUDA
Assignee: unassignedclangbugs at nondot.org
Reporter: a.huebl at hzdr.de
CC: llvm-bugs at lists.llvm.org
When compiling with `-x cuda`, the default `__cplusplus` version of clang still
points to C++98 (199711L) instead of the otherwise default of the (host)
compiler.
This is a bit confusing and probably not intentional? Should it be identical to
the current default in the other frontends (e.g. C++14)?
--
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/20190820/90392618/attachment.html>
More information about the llvm-bugs
mailing list