[Mesa-dev] [Bug 90048] shaderapi.h:235:50: error: expected ‘{’ before ‘?=,=?UTF-8?Q?’ token

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 16 01:38:43 PDT 2015


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

--- Comment #5 from Vinson Lee <vlee at freedesktop.org> ---
A definition of interface must be getting included from some MinGW header file.

This patch works around the compile error.

diff --git a/src/mesa/main/shaderapi.h b/src/mesa/main/shaderapi.h
index 0cd2fad..d313581 100644
--- a/src/mesa/main/shaderapi.h
+++ b/src/mesa/main/shaderapi.h
@@ -35,6 +35,7 @@
 extern "C" {
 #endif

+#undef interface

 struct _glapi_table;
 struct gl_context;

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


More information about the mesa-dev mailing list