[cairo-bugs] [Bug 88050] Compiler warning in cairo-gl.h undefined #if check

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 27 01:22:10 PDT 2015


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

--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> ---
This is not a bug, but correct cpp behaviour.

An undefined macro is evaluated as 0.

The preference is to use #if MACRO_NAME rather than #ifdef.

-- 
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.cairographics.org/archives/cairo-bugs/attachments/20150627/687125fd/attachment.html>


More information about the cairo-bugs mailing list