[Mesa-dev] [PATCH] mesa/st/tests: Correct build flags and force -std=c++11
Emil Velikov
emil.l.velikov at gmail.com
Wed Sep 13 17:11:23 UTC 2017
On 13 September 2017 at 13:42, Gert Wollny <gw.fossdev at gmail.com> wrote:
> Am Mittwoch, den 13.09.2017, 13:11 +0100 schrieb Emil Velikov:
>> Hi Gert,
>>
>> On 13 September 2017 at 09:32, Gert Wollny <gw.fossdev at gmail.com>
>> wrote:
>> > Include src/gallium/Automake.inc, correct the build flags
>> > accordingly, and force -std=c++11 because only when building
>> > against llvm and only with llvm >= 3.9 LLVM_CXXFLAGS
>> > actually provides -std=c++11.
>> >
>>
>> Is the one character change is the only reason behind the c++11
>> toggle?
>
> No, the code uses c++11 initializer lists quite heavily.
>
Right, those could be reworked rather easily, ala "s/const
vector<LocalClass>/const LocalClass[]/"
But that's for someone who feels strongly about them ;-)
-Emil
More information about the mesa-dev
mailing list