Summary: | query_renderer_implementation_unittest.cpp:144:4: error: expected primary-expression before ‘.’ token | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | CC: | emil.l.velikov, idr |
Version: | git | Keywords: | regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | glx/tests: Partially revert commit 51e3569573a7b3f8da0df093836761003fcdc414 |
Description
Vinson Lee
2014-05-07 19:49:12 UTC
Created attachment 98641 [details] [review] glx/tests: Partially revert commit 51e3569573a7b3f8da0df093836761003fcdc414 Vinson, did you receive the email with a test request wrt this commit/the whole series ? I was hoping it we could minimize the amount of with such annoying/trivial issues :) With that said, a quick look at the C++ standard indicates that the patch is not strictly legal and to make things better, gcc 4.9.0 builds this code like a charm. Just revert the offending hunk. Verified attachment 98641 [details] [review] fixes the build error. Tested-by: Vinson Lee <vlee@freedesktop.org> Pushed to master commit 326b8e253e5ee2e09e54ad46d8370a6e8c8d46da Author: Emil Velikov <emil.l.velikov@gmail.com> Date: Wed May 7 22:30:43 2014 +0100 glx/tests: Partially revert commit 51e3569573a7b3f8da0df093836761003fcdc414 C++ does not support designated initializers, thus compilation is not guaranteed to succeed. Surprisingly gcc 4.6.3 fails to build the code, while version 4.9.0 compiles it without a hitch. Cc: "10.2" <mesa-stable@lists.freedesktop.org> |
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.