[Mesa-dev] [Bug 76577] egl_dri2.c:507:27: error: 'EGL_OPENGL_ES3_BIT_KHR' undeclared (first use in this function)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 25 15:03:43 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76577

--- Comment #4 from Emil Velikov <emil.l.velikov at gmail.com> ---
Seems like gcc does not handle include directives as I though it would. The
only difference quoted vs angle brackets make is an extra searches for the
header in the folder containing the source file.

One can prevent from searching the default locations using -nostdinc, although
that should not be required.

Dâniel I'm kind of struggling to see(tested as well) how on earth did the
system header got included in your case, pending any funny options during the
compilation of gcc (other pieces of the toolchain).

-I$(top_srcdir)/include is used prior to any other, which should handle things
correctly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140325/5f53e6cf/attachment.html>


More information about the mesa-dev mailing list