cccl icon indicating copy to clipboard operation
cccl copied to clipboard

Add values to compiler macros

Open fbusato opened this issue 4 months ago • 2 comments

Description

Compiler identification macros are defined but don't have a value. This is bug-prone, namely when the user forgets to add the header:

#if defined(_CCCL_COMPILER_GCC) 
// do important things

this statement could be skipped or not depending on the inclusion of compiler.h even if gcc is actually used

fbusato avatar Oct 03 '24 23:10 fbusato