[Scummvm-devel] Scummvm-devel Digest, Vol 45, Issue 8
צביקה הרמתי
haramaty.zvika at gmail.com
Wed May 27 12:50:44 UTC 2020
Hi,
A little bit more details - that file is *always* compiling (in Unix
'configure' and VS flows), but the code inside is completely disabled with
a `#ifdef ENABLE_TEST_CPP_11`.
The `--enable-test-cpp11` flag of `configure` adds `define
ENABLE_TEST_CPP_11`.
Therefore, in order to enable the test:
- with 'configure' flow, just add this flag
- with other flows:
= make sure that the file is in the compilation list
= add that define
If the test is indeed running, you will see, during *compilation*:
"Testing C++11"
בתאריך יום ד׳, 27 במאי 2020 ב-15:00 מאת <
scummvm-devel-request at lists.scummvm.org>:
> Send Scummvm-devel mailing list submissions to
> scummvm-devel at lists.scummvm.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.scummvm.org/listinfo/scummvm-devel
> or, via email, send a message with subject or body 'help' to
> scummvm-devel-request at lists.scummvm.org
>
> You can reach the person managing the list at
> scummvm-devel-owner at lists.scummvm.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Scummvm-devel digest..."
>
>
> Today's Topics:
>
> 1. ATTN Porters: Tests for the new C++ standards (Eugene Sandulenko)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 27 May 2020 13:05:18 +0200
> From: Eugene Sandulenko <sev at scummvm.org>
> To: ScummVM List <scummvm-devel at lists.scummvm.org>
> Subject: [Scummvm-devel] ATTN Porters: Tests for the new C++ standards
> Message-ID:
> <CAJG28-ZOhS7VAfrKsp-ONcp=_
> 5aoVxFxtWCddi_1bqwxJDtL_A at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> 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-0001.htm
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.scummvm.org
> https://lists.scummvm.org/listinfo/scummvm-devel
>
>
> ------------------------------
>
> End of Scummvm-devel Digest, Vol 45, Issue 8
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20200527/36fdcc8e/attachment.htm>
More information about the Scummvm-devel
mailing list