Skip to content

Compilation with -DVL=... crashes in type_list.hpp #2981

Open
@kbobrovs

Description

@kbobrovs

This code in CL/sycl/detail/type_list.hpp template <access::address_space AS, typename VL> causes compilation error if user specifies -DVL=<some number> option on the command line. VL is a popular acronym for "vector length", people may use it as a macro in their programs.

Names which can clash with user space should start with underscore(s). E.g. template <access::address_space __AS, typename __VL>.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions