Building torcs-1.3.6 with GCC-7 fails
Building torcs-1.3.6 with GCC-7 fails
Building demos with GCC-7 fails
freeimage fails to build against jpeg-9c
Are you using a pie enabled compiler? Maybe related to https://bugs.gentoo.org/618170?
Actually, the other patch doesn't work if building with GCC-6 and including -std=c++98 in CXXFLAGS.
Building with GCC-6 Fails
GCC-6 doesn't allow implicit cast from bool to pointer