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]
Other format: [Raw text]

Re: [Ada] warning: file name does not match unit name


> [Btw: why is this a warning if the compiler exits unsucessfully without
> creating an object?]

Because -gnatg implies -gnatwe (treat warnings as errors), so that it is
not possible to compile GNAT sources with warnings.

Arno


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