Created attachment 394596 [details, diff] fix #define to act in a compatible manner With the current toolchain (gcc-4.9.2 and glibc-2.20-r1), gltron does not compile. The reason is an inconsistent usage of "#define __USE_MISC": Macros like these should be set globally in the beginning and not locally for only some header files. Apparently, newer versions of gcc/glibc are more picky about this and yield an error. I did no research which versions of gcc/glibc are required to trigger the bug, I attach a patch which shifts the offending definition at least until the beginning of the corresponding file: This is sufficient to compile it with gcc-4.9.2 and glibc-2.20-r1 (and nonintrusive so that compilation with earlier versions of gcc/glibc continues to work).
well I don't have gcc49 here but the patch looks pretty benign so it's applied. thanks for the bug report.