[Mesa-dev] [PATCH] include/GL: fix the interop header for a --disable-glx build

Emil Velikov emil.l.velikov at gmail.com
Thu Apr 21 20:06:10 UTC 2016


On 21 April 2016 at 20:10, Chuck Atkins <chuck.atkins at kitware.com> wrote:
>>> >> Drop the includes altogether, and forward declare the needed symbols.
>>
>>
>> But then you end up with forward declarations of symbols that may not even
>> exist.
>
>
> I guess you'll already have prototypes that will remain unresolved since if
> you're using GLX then you probably won't be linking both libEGL anyways/
>
Precisely. It's not a perfect solution, esp. when people can build
with one or the other or even both at the same time.

The cool thing is that compiles/linkers, these days, will give you a
nice fat warning/error :-)

Emil


More information about the mesa-dev mailing list