Work around GCC bug, add more informational error numbers.