Difference between revisions of "Compiling ScummVM/C++11 Readiness"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Adding test results for the three toolchains used for macOS releases)
Line 9: Line 9:
 
!Platform!!Class Enum!!Final Class!!Final Function!!Variadic!!Type Aliases!!Init Lists1!!Init Lists 2!!Ranged loops!!Lambdas!!Space in nested templates!!Alt functions syntax!!Static Init!!Explicit Conversion!!Move Semantics!!Deleted Functions
 
!Platform!!Class Enum!!Final Class!!Final Function!!Variadic!!Type Aliases!!Init Lists1!!Init Lists 2!!Ranged loops!!Lambdas!!Space in nested templates!!Alt functions syntax!!Static Init!!Explicit Conversion!!Move Semantics!!Deleted Functions
 
|-
 
|-
|AmigaOS gcc 8.3.0||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
+
|AmigaOS gcc 8.3.0 (1)||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
 
|-
 
|-
 
|macOS gcc 4.0.1 (PPC)||{{no}}||{{no}}||{{no}}||{{no}}||{{no}}|| - ||{{no}}||{{no}}||{{no}}||{{no}}||{{no}}||{{no}}||{{no}}||{{no}}||{{no}}
 
|macOS gcc 4.0.1 (PPC)||{{no}}||{{no}}||{{no}}||{{no}}||{{no}}|| - ||{{no}}||{{no}}||{{no}}||{{no}}||{{no}}||{{no}}||{{no}}||{{no}}||{{no}}
Line 19: Line 19:
 
|macOS clang 11.0||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{no}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
 
|macOS clang 11.0||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{no}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
 
|}
 
|}
 +
(1) Breaks compilation in base/commandLine.cpp

Revision as of 18:34, 28 May 2020

How to test

Run ./configure --enable-c++11 --enable-test-cpp11.


Results

Platform Class Enum Final Class Final Function Variadic Type Aliases Init Lists1 Init Lists 2 Ranged loops Lambdas Space in nested templates Alt functions syntax Static Init Explicit Conversion Move Semantics Deleted Functions
AmigaOS gcc 8.3.0 (1) Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
macOS gcc 4.0.1 (PPC) No No No No No - No No No No No No No No No
macOS clang 6.0 (i386) Yes Yes Yes Yes Yes - Yes Yes Yes Yes Yes Yes Yes Yes Yes
macOS clang 9.0 (x86_64) Yes Yes Yes Yes Yes - Yes Yes Yes Yes Yes Yes Yes Yes Yes
macOS clang 11.0 Yes Yes Yes Yes Yes No Yes Yes Yes Yes Yes Yes Yes Yes Yes

(1) Breaks compilation in base/commandLine.cpp