Summary: | "nir/nir.h", line 643: Error: In this declaration "src" is of an incomplete type "nir_alu_src[]". | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED WONTFIX | QA Contact: | mesa-dev |
Severity: | blocker | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Solaris | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Patch to fix the unsized array issue |
Description
Vinson Lee
2015-02-20 01:01:41 UTC
Can you try replacing "nir_alu_src src[]" with "nir_alu_src src[0]" and making the corresponding change to nir_intrinsic_instr" See this thread: http://lists.freedesktop.org/archives/mesa-dev/2015-February/077137.html looks like there are a few (mostly trivial) patches needed. Created attachment 114310 [details]
Patch to fix the unsized array issue
I just attached a patch that *should* fix the bug. Let me know how it works.
(In reply to Jason Ekstrand from comment #3) > Created attachment 114310 [details] > Patch to fix the unsized array issue > > I just attached a patch that *should* fix the bug. Let me know how it works. "nir/nir.h", line 664: Error: An array cannot have zero size unless you use the option -features=zla. "nir/nir.h", line 722: Warning: Identifier expected instead of "}". "nir/nir.h", line 813: Error: An array cannot have zero size unless you use the option -features=zla. As of 51564f04b77e6d Oracle Studio is not longer supported in Mesa. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.