[Scummvm-devel] ATTN Porters: Tests for the new C++ standards

Eugene Sandulenko sev at scummvm.org
Wed May 27 17:40:46 UTC 2020


Oh, right, sorry, I kind of forgot.

  ./configure --enable-c++11 --enable-test-cpp11

Eugene

On Wed, 27 May 2020 at 19:12, Luc Schrijvers <begasus at gmail.com> wrote:

> Hi team,
>
> On a quick checkout I get the following error (link will stay up for about
> a month: https://paste.ubuntu.com/p/6Fyzyqx3TN/
>
> Greetings,
>
> Luc aka Begasus
>
> Op wo 27 mei 2020 om 13:05 schreef Eugene Sandulenko <sev at scummvm.org>:
>
>> Hi Team,
>>
>> Time flies, compilers improve, and one of the most frequent requests is
>> to switch ScummVM to a newer standard of C++.
>>
>> Of course, our primary project goal is portability, thus, we need to
>> assess the readiness carefully. I will include this in our next release
>> process as a step to check, but still, it would be great to get information
>> as soon as possible.
>>
>> Thus, all porters, could you please get the latest master, and run
>> configure with the following flag:
>>
>>    ./configure --enable-test-cpp11
>>
>> This will add base/test_new_standards.cpp file to the compilation (or
>> add it manually if you use a different build system. The file is a no-op,
>> but checks compilation of the new desired features of c++11 standard. If
>> you have some compilation error, there is a way to disable specific tests,
>> and see which things could and which couldn't be supported. Then report
>> this to me, or directly put the results on the Wiki:
>> https://wiki.scummvm.org/index.php?title=Compiling_ScummVM/C%2B%2B11_Readiness
>>
>> The details of the code and description could be found in this PR by
>> ZvikaZ:
>>
>>   https://github.com/scummvm/scummvm/pull/2259
>>
>> Also, if you have general ideas about the effort or additional tests,
>> please share them.
>>
>>
>> Eugene
>> _______________________________________________
>> Scummvm-devel mailing list
>> Scummvm-devel at lists.scummvm.org
>> https://lists.scummvm.org/listinfo/scummvm-devel
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20200527/1cfa12d7/attachment.htm>


More information about the Scummvm-devel mailing list