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

From ScummVM :: Wiki
Jump to navigation Jump to search
Line 25: Line 25:
 
|Mingw-w64 clang 10.0.0 (x86_64)||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}|| - ||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
 
|Mingw-w64 clang 10.0.0 (x86_64)||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}|| - ||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
 
|-
 
|-
|Vita (psp2) gcc 9.1.0 (arm_32) (2)||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}|| - ||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
+
|Vita (psp2) gcc 9.1.0 (arm_32) (2)||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}|| {{yes}} ||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
 
|-
 
|-
 
|Visual Studio 2019||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}|| - ||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
 
|Visual Studio 2019||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}|| - ||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
Line 31: Line 31:
  
 
(1) --enable-c++11 breaks compilation in base/commandLine.cpp
 
(1) --enable-c++11 breaks compilation in base/commandLine.cpp
 +
 
(2) --enable-c++11 breaks compilation in backends/fs/posix/posix-iostream.cpp with error 'fileno' was not declared in this scope
 
(2) --enable-c++11 breaks compilation in backends/fs/posix/posix-iostream.cpp with error 'fileno' was not declared in this scope

Revision as of 16:32, 29 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
iOS3 clang 3.7.1 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
Mingw-w64 gcc 10.1.0 (x86_64) Yes Yes Yes Yes Yes - Yes Yes Yes Yes Yes Yes Yes Yes Yes
Mingw-w64 clang 10.0.0 (x86_64) Yes Yes Yes Yes Yes - Yes Yes Yes Yes Yes Yes Yes Yes Yes
Vita (psp2) gcc 9.1.0 (arm_32) (2) Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Visual Studio 2019 Yes Yes Yes Yes Yes - Yes Yes Yes Yes Yes Yes Yes Yes Yes

(1) --enable-c++11 breaks compilation in base/commandLine.cpp

(2) --enable-c++11 breaks compilation in backends/fs/posix/posix-iostream.cpp with error 'fileno' was not declared in this scope