anonymous enums not supported by the compiler?

anonymous enums not supported by the compiler?

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






3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

hai im laxmikanth im intrsted to join to in our company

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

Leave a Comment

Please sign in to add a comment. Not a member? Join today