Closed dwatteau closed 3 years ago
Might be solved by e78e3d9a616f7ba173dc85bd1e3123101392916b, at least in part.
Will need to do various checks with different compiler versions.
53a326cec9209743522f50f0aaeaa018fa698c33 should also fix the dependent-name 'SeqFile<T>::Error' is parsed as a non-type, but instantiation yields a type
compilation error observed (at least) with GCC 4.0 and GCC 4.2.
Closing.
The original source of
scummrp
(and thusscummtr
) currently fails to build on most Unix environments.g++
gives the best error messages:clang++ doesn't like this either. It's just fatal for it.
Actually, an old g++ 3.3.5 does accept this construct, though. It seems to be an invalid C++ contsruct, that g++ 3.4 and later just completely refuses. Strangely,
cl.exe
still accepts it without a single warning, even with MSVC 2019 in C++17 mode.This should help fixing this: