After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770533 - build fails with -Werror=undef in cogl/winsys/cogl-winsys-egl.c
build fails with -Werror=undef in cogl/winsys/cogl-winsys-egl.c
Status: RESOLVED FIXED
Product: cogl
Classification: Platform
Component: EGL
1.22.x
Other Linux
: Normal major
: ---
Assigned To: Cogl maintainer(s)
Cogl maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-08-29 07:58 UTC by Felix Zhang
Modified: 2018-01-11 17:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A patch to fix the problem. (857 bytes, patch)
2016-08-29 07:58 UTC, Felix Zhang
none Details | Review

Description Felix Zhang 2016-08-29 07:58:54 UTC
Created attachment 334330 [details] [review]
A patch to fix the problem.

Commit d91bdc1, the fix for bug 765351 causes build failure if the -Werror=undef switch is on. Changing #if into #ifdef fixes the problem.