OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1718 Discussions

anonymous enums not supported by the compiler?

eudoxos
Beginner
389 Views
I have Intel OpenCL SDK version 1.5-15294 on Linux. The compiler does not accept anonymous enums; a dymmy name must be given. Is this a good place to report it, since I think it is a bug? (c99 does support anonymous enums)
enum {foo};        // error with Intel, AMD and nVidia OK
enum _foo{foo}; // OK with Intel, AMD, nVidia compilers






0 Kudos
2 Replies
laxmikanth_allavulag
389 Views
hai im laxmikanth im intrsted to join to in our company
0 Kudos
Guy_B_Intel
Employee
389 Views
Hi,
Thanks for your post, it is indeed a good place to report bugs and issues.

The issue with anonymous enumerations is a known issue, and we will address it in our upcoming release.

Thanks
Guy Benyei
0 Kudos
Reply