<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Compiler warning in cairo-gl.h undefined #if check"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88050">88050</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compiler warning in cairo-gl.h undefined #if check
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>gl backend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kwm@rainbow-runner.nl
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=111763" name="attach_111763" title="Wrap the CAIRO_HAS_*_FUNCTIONS of the #if checks in a defined()">attachment 111763</a> <a href="attachment.cgi?id=111763&action=edit" title="Wrap the CAIRO_HAS_*_FUNCTIONS of the #if checks in a defined()">[details]</a></span>
Wrap the CAIRO_HAS_*_FUNCTIONS of the #if checks in a defined()

When building a program that uses the cairo-gl.h from cairo 1.14.0 with clang
3.5. The compiler prints out the following warnings:

/usr/local/include/cairo/cairo-gl.h:95:5: warning: 'CAIRO_HAS_GLX_FUNCTIONS' is
not defined, evaluates to 0 [-Wundef]
#if CAIRO_HAS_GLX_FUNCTIONS
    ^
/usr/local/include/cairo/cairo-gl.h:113:5: warning: 'CAIRO_HAS_WGL_FUNCTIONS'
is not defined, evaluates to 0 [-Wundef]
#if CAIRO_HAS_WGL_FUNCTIONS
    ^
/usr/local/include/cairo/cairo-gl.h:129:5: warning: 'CAIRO_HAS_EGL_FUNCTIONS'
is not defined, evaluates to 0 [-Wundef]
#if CAIRO_HAS_EGL_FUNCTIONS
    ^</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>