#13471 closed defect (fixed)

PORTS: Some C++11 features are disabled due to Visual Studio defining __cplusplus as the wrong value

Reported by: elasota Owned by: bluegr
Priority: normal Component: Port: Win64
Version: Keywords:
Cc: Game:


Visual Studio defines __cplusplus as 199711L unless /Zc:__cplusplus is set in the compile command line:


This is causing code paths checking for __cplusplus >= 201103L to not compile.

Change History (1)

comment:1 by bluegr, 22 months ago

Owner: set to bluegr
Resolution: fixed
Status: newclosed

Thanks for your work! The PR has been merged, so this can be closed now.

Note: See TracTickets for help on using tickets.