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

Jump to navigation Jump to search
Line 36: Line 36:
(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/platform/psp/default_display_client.cpp with error 'bzero' was not declared in this scope. C++11 support is not enabled by default, so cannot test the support, because compiler fails in default_display_client.cpp earlier.
(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) --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.
(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.
224

edits

Navigation menu