[Wayland-bugs] [Bug 103225] Deprecated wl_buffer still mentioned in EGL/eglmesaext.h
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Oct 12 12:48:16 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103225
--- Comment #6 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to Greg V from comment #5)
> > - A local forward declaration (like the struct wl_resource one) should
> > handle the issue, I'll send a patch in a minute
> Just tried that. The warning is still there.
>
Ack. Patch still makes sense on its own.
> I don't actually understand where both headers are included, that's never
> done explicitly in the source, they just somehow ended up together. (And
> seemingly, only on FreeBSD?!) wayland-server wasn't included *for*
> eglmesaext anywhere.
>
Without a build log it's impossible to tell. From a quick look -> the glapi.h
generated in wlroot is including the eglmesaext.h header when it shouldn't need
to.
> > - The warning should not block the build, so in the short interim please
> > ignore it.
> Some people really like -Werror for some reason :( But yeah for now
> -DWL_HIDE_DEPRECATED is used.
Using -Werror in a controlled environment (aka locally) is great. Otherwise it
goes badly since different compilers (and versions) produce different warnings.
I hope such people know how to handle/workaround such issues.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20171012/59ac8edf/attachment.html>
More information about the wayland-bugs
mailing list