Khronos Public Bugzilla
Bug 552 - cl_gl_ext.h has "/*" within comment, causes compiler warnings.
Summary: cl_gl_ext.h has "/*" within comment, causes compiler warnings.
Status: NEW
Alias: None
Product: OpenCL
Classification: Unclassified
Component: Header Files (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Aaftab Munshi
QA Contact: OpenCL Working Group
Depends on:
Reported: 2011-11-16 07:34 PST by Jeremy Dorfman
Modified: 2011-11-16 07:34 PST (History)
0 users

See Also:


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.