[Scummvm-tracker] [ScummVM :: Bugs] #13471: PORTS: Some C++11 features are disabled due to Visual Studio defining __cplusplus as the wrong value
ScummVM :: Bugs
trac at scummvm.org
Mon May 9 07:30:01 UTC 2022
#13471: PORTS: Some C++11 features are disabled due to Visual Studio defining
__cplusplus as the wrong value
--------------------+-------------------------
Reporter: elasota | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Port: Win64
Version: | Keywords:
Game: |
--------------------+-------------------------
Visual Studio defines {{{__cplusplus}}} as 199711L unless
{{{/Zc:__cplusplus}}} is set in the compile command line:
https://docs.microsoft.com/en-us/cpp/build/reference/zc-
cplusplus?view=msvc-170
This is causing code paths checking for {{{__cplusplus >= 201103L}}} to
not compile.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13471>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list