[Bug ada/56331] New: Gnatprep returns zero on error.

bjorn@xn--rombobjrn-67a.se gcc-bugzilla@gcc.gnu.org
Thu Feb 14 22:16:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56331

             Bug #: 56331
           Summary: Gnatprep returns zero on error.
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bjorn@xn--rombobjrn-67a.se


Created attachment 29457
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29457
proposed fix

When Gnatprep encounters errors in its input it deems its output file worthless
and deletes it, but returns an exit code of zero. It should return a nonzero
value so that it can function correctly in scripts and makefiles.



More information about the Gcc-bugs mailing list