#155 Line numbers in error messages are wrong.

GNADE 1.X
closed
5
2007-10-02
2007-09-17
Björn Persson
No

GESQL 1.5.3b deletes all the blank lines from the Ada code, except for the ones it inserts itself. Together with the Source_Reference pragmas it inserts, this has the effect that the line numbers will be wrong in any messages from the compiler. This makes the Source_Reference pragmas utterly pointless. In fact one may have to remove the Source_Reference pragmas to have a reasonable chance of finding the location of the error.

This was observed on Fedora, where a line break is a linefeed character.

Discussion

    • assigned_to: nobody --> merdmann
     
  • Logged In: YES
    user_id=146097
    Originator: NO

    Your bug has been fixed, please retest with the next release.

     
  • Logged In: YES
    user_id=146097
    Originator: NO

    Currently corrected on Version 1.5.3b branch in the CVS. Patch will be deployed asap!

     
    • status: open --> pending
     
  • Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending --> closed