<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi all,</div><div class=""><br class=""></div><div class="">I just pushed an update to the test with the following changes.</div><div class=""><br class=""></div><div class="">1. The configure flag was renamed for consistency. Now you need to use:</div><div class=""><br class=""></div><div class=""><div dir="ltr" class=""><div class=""><font face="monospace" class="">./configure --enable-c++11 --enable-test-c++11</font></div></div></div><div class=""><br class=""></div><div class="">2. One of the test  for initializer list was incomplete and disabled by default (as it did not compile even with c++11 compliant compilers). It has now been fixed and is enabled by default.</div><div class=""><br class=""></div><div class="">There are two variants of the test. By default it tries to use the std::initializer_list from the c++ standard library. If you have a c++11 compliant compiler, but are targeting a c++ standard library that does not have std::initializer_list, the test may fail. In this case, before disabling the test altogether, you can try to enable the std::initializer_list replacement with:</div><div class=""><br class=""></div><div class="">#define <span style="font-family: Monaco; font-size: 10px;" class="">USE_INITIALIZIER_LIST_REPLACEMENT</span></div><div class=""><br class=""></div><div class="">Thierry</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On 27 May 2020, at 18:40, Eugene Sandulenko <<a href="mailto:sev@scummvm.org" class="">sev@scummvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Oh, right, sorry, I kind of forgot.<div class=""><br class=""></div><div class="">  <font face="monospace" class="">./configure --enable-c++11 --enable-test-cpp11</font></div><div class=""><font face="monospace" class=""><br class=""></font></div><div class=""><font face="arial, sans-serif" class="">Eugene</font></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 27 May 2020 at 19:12, Luc Schrijvers <<a href="mailto:begasus@gmail.com" class="">begasus@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><div class="">Hi team,</div><div class=""><br class=""></div><div class="">On a quick checkout I get the following error (link will stay up for about a month: <a href="https://paste.ubuntu.com/p/6Fyzyqx3TN/" target="_blank" class="">https://paste.ubuntu.com/p/6Fyzyqx3TN/</a></div><div class=""><br class=""></div><div class="">Greetings,</div><div class=""><br class=""></div><div class="">Luc aka Begasus<br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op wo 27 mei 2020 om 13:05 schreef Eugene Sandulenko <<a href="mailto:sev@scummvm.org" target="_blank" class="">sev@scummvm.org</a>>:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="">Hi Team,<br class=""><div class=""><br class=""></div><div class="">Time flies, compilers improve, and one of the most frequent requests is to switch ScummVM to a newer standard of C++.</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Thus, all porters, could you please get the latest master, and run configure with the following flag:</div><div class=""><br class=""></div><div class="">   <font face="monospace" class="">./configure --enable-test-cpp11</font></div><div class=""><br class=""></div><div class="">This will add <font face="monospace" class="">base/test_new_standards.cpp</font> 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: <a href="https://wiki.scummvm.org/index.php?title=Compiling_ScummVM/C%2B%2B11_Readiness" target="_blank" class="">https://wiki.scummvm.org/index.php?title=Compiling_ScummVM/C%2B%2B11_Readiness</a></div><div class=""><br class=""></div><div class="">The details of the code and description could be found in this PR by ZvikaZ:</div><div class=""><br class=""></div><div class="">  <a href="https://github.com/scummvm/scummvm/pull/2259" target="_blank" class="">https://github.com/scummvm/scummvm/pull/2259</a></div><div class="">   </div><div class="">Also, if you have general ideas about the effort or additional tests, please share them.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Eugene</div></div>
_______________________________________________<br class="">
Scummvm-devel mailing list<br class="">
<a href="mailto:Scummvm-devel@lists.scummvm.org" target="_blank" class="">Scummvm-devel@lists.scummvm.org</a><br class="">
<a href="https://lists.scummvm.org/listinfo/scummvm-devel" rel="noreferrer" target="_blank" class="">https://lists.scummvm.org/listinfo/scummvm-devel</a><br class="">
</blockquote></div>
</blockquote></div>
_______________________________________________<br class="">Scummvm-devel mailing list<br class=""><a href="mailto:Scummvm-devel@lists.scummvm.org" class="">Scummvm-devel@lists.scummvm.org</a><br class="">https://lists.scummvm.org/listinfo/scummvm-devel<br class=""></div></blockquote></div><br class=""></body></html>