[Mesa-dev] [Bug 41023] [bisected] d3d1x: error when building -> src/dxgi_native.cpp:1165:40: error: uninitialized const ‘black’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 20 09:44:43 PDT 2011


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

--- Comment #2 from Alexandre Demers <alexandre.f.demers at gmail.com> 2011-09-20 09:44:39 PDT ---
Created an attachment (id=51410)
 View: https://bugs.freedesktop.org/attachment.cgi?id=51410
 Review: https://bugs.freedesktop.org/review?bug=41023&attachment=51410

Initializing "black" union

If I understood correctly unions and how to initialize them, it should fix the
compilation error and initialize values to 0 for any of the types. Correct me
if I'm wrong.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list