<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://www.khronos.org/bugzilla/bugzilla.dtd">

<bugzilla version="4.2.4"
          urlbase="http://www.khronos.org/bugzilla/"
          
          maintainer="webmaster@khronos.org"
>

    <bug>
          <bug_id>762</bug_id>
          
          <creation_ts>2013-01-05 11:32:00 -0800</creation_ts>
          <short_desc>.spec file MacOSX issue with GLhandleARB.</short_desc>
          <delta_ts>2013-01-05 11:32:57 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>OpenGL</product>
          <component>Registry</component>
          <version>4.3</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alfonse">alfonse215</reporter>
          <assigned_to name="Jon Leech">devrel</assigned_to>
          
          

      

      

      

          <long_desc isprivate="0">
            <commentid>1997</commentid>
            <who name="Alfonse">alfonse215</who>
            <bug_when>2013-01-05 11:32:57 -0800</bug_when>
            <thetext>In the .spec file, it defines GLhandleARB as `unsigned int` for all platforms. However, the MacOSX Cocoa header `gltypes.h` defines it as `void*`. This causes a conflict.

Both GLEW (https://sourceforge.net/p/glew/bugs/206/) and glLoadGen (https://bitbucket.org/alfonse/glloadgen/issue/33/mac-compilation-error) have encountered this issue, and simply ifdef-ing around `gltypes.h` is probably not a reliable solution.

You should get with Apple and figure out what they want their GLhandleARB to be defined as, and provide an appropriate #ifdef around it for other platforms.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>