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






publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

hai im laxmikanth im intrsted to join to in our company

Imagen de Guy Benyei (Intel)

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

Inicie sesión para dejar un comentario.