Khronos Public Bugzilla
Bug 552 - cl_gl_ext.h has "/*" within comment, causes compiler warnings.
cl_gl_ext.h has "/*" within comment, causes compiler warnings.
Status: NEW
Product: OpenCL
Classification: Unclassified
Component: Header Files
unspecified
All All
: P3 normal
: ---
Assigned To: Aaftab Munshi
OpenCL Working Group
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-16 07:34 PST by Jeremy Dorfman
Modified: 2011-11-16 07:34 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Dorfman 2011-11-16 07:34:13 PST
In cl_gl_ext.h, there is a "/*" within a comment block. This causes compiler warnings with GCC 4.2.2, and possibly others.

Steps to reproduce:
#include <CL/cl_gl_ext.h>

Exact error message:
CL/cl_gl_ext.h:44:4: error: "/*" within comment

This is present in all of the presently published headers.

It looks like this was recently added though; earlier copies of cl_gl_ext.h don't have this problem.