Open main menu

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

Line 27: Line 27:
|PSP gcc 4.9.3 (mips) (2)||?||?||?||?||?||?||?||?||?||?||?||?||?||?||?
|PSP gcc 4.9.3 (mips) (2)||?||?||?||?||?||?||?||?||?||?||?||?||?||?||?
|-
|-
|Switch gcc 10.1.0 (arm_64) (3)||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}|| - ||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
|Switch gcc 10.1.0 (arm_64) (3)(4)||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}|| - ||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
|-
|-
|Vita (psp2) gcc 9.1.0 (arm_32) (4)||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}|| - ||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}||{{yes}}
|Vita (psp2) gcc 9.1.0 (arm_32) (5)||{{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 37: Line 37:


(2) --enable-c++11 breaks compilation in backends/platform/psp/default_display_client.cpp with error 'bzero' was not declared in this scope. C++11 support is not enabled by default. Compiler fails in default_display_client.cpp before reaching the c++11 test file.
(2) --enable-c++11 breaks compilation in backends/platform/psp/default_display_client.cpp with error 'bzero' was not declared in this scope. C++11 support is not enabled by default. Compiler fails in default_display_client.cpp before reaching the c++11 test file.
(3) 10.1.0 was tested locally. Buildbot still uses 8.6.0, which was not tested.


(3) --enable-c++11 breaks compilation in backends/midi/timidity.cpp with multiple errors: 'u_char' was not declared in this scope, 'seqbuf' was not declared in this scope, 'usleep' was not declared in this scope.  C++11 support is enabled by default, though, so the flag is not needed.
(3) --enable-c++11 breaks compilation in backends/midi/timidity.cpp with multiple errors: 'u_char' was not declared in this scope, 'seqbuf' was not declared in this scope, 'usleep' was not declared in this scope.  C++11 support is enabled by default, though, so the flag is not needed.


(4) --enable-c++11 breaks compilation in backends/fs/posix/posix-iostream.cpp with error 'fileno' was not declared in this scope. C++11 support is enabled by default, though, so the flag is not needed.
(5) --enable-c++11 breaks compilation in backends/fs/posix/posix-iostream.cpp with error 'fileno' was not declared in this scope. C++11 support is enabled by default, though, so the flag is not needed.
224

edits