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

Eugene Sandulenko sev at scummvm.org
Wed May 27 11:05:18 UTC 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20200527/90b8342e/attachment.htm>


More information about the Scummvm-devel mailing list