This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc driver not returning an error code when compiling a file in a language with no installed back-end


I made a mistake in my PATH setting, ended up with a driver without
Ada support, and noticed the Makefile was going on, gcc priting "Ada
compiler not installed on this system" but returning 0 as exit code. I
looked at the current gcc.c code, and the situation is detected by
this_file_error, but this is not used for the exit code as far as I
can say. Is this behaviour intentional?

--
Laurent


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]