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)?
Extended Description
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)?