Re: Adding Blank Line In Source Causes Change In Executable

Robert A Duff <bobduff@shell01.TheWorld.com>
Mon, 26 Mar 2012 13:36:43 -0400

          From comp.compilers

Related articles
Adding Blank Line In Source Causes Change In Executable john.m.morris@navy.mil (Morris, John M CIV NSWCDD, Q34) (2012-03-06)
Re: Adding Blank Line In Source Causes Change In Executable gah@ugcs.caltech.edu (glen herrmannsfeldt) (2012-03-06)
Re: Adding Blank Line In Source Causes Change In Executable bobduff@shell01.TheWorld.com (Robert A Duff) (2012-03-06)
Re: Adding Blank Line In Source Causes Change In Executable hokienerd@gmail.com (HOKIENERD) (2012-03-12)
Re: Adding Blank Line In Source Causes Change In Executable bobduff@shell01.TheWorld.com (Robert A Duff) (2012-03-13)
Re: Adding Blank Line In Source Causes Change In Executable gah@ugcs.caltech.edu (glen herrmannsfeldt) (2012-03-14)
Re: Adding Blank Line In Source Causes Change In Executable hokienerd@gmail.com (HOKIENERD) (2012-03-26)
Re: Adding Blank Line In Source Causes Change In Executable bobduff@shell01.TheWorld.com (Robert A Duff) (2012-03-26)
| List of all articles for this month |

From: Robert A Duff <bobduff@shell01.TheWorld.com>
Newsgroups: comp.compilers
Date: Mon, 26 Mar 2012 13:36:43 -0400
Organization: The World Public Access UNIX, Brookline, MA
References: 12-03-007 12-03-010 12-03-028 12-03-031 12-03-057
Keywords: Ada, debug
Posted-Date: 28 Mar 2012 05:31:39 EDT

HOKIENERD <hokienerd@gmail.com> writes:


> We were hoping to add comments throughout the code, and 'prove' that
> they had no effect by producing an identical executable, but it looks
> like we won't be able to do that.
>
> The line number is useful in our debug environment, but in our final
> system there is nowhere for the information to be output, so it won't
> do us any good in that configuration.
>
> I sure can't find a way to turn it off on my system!


If you buy the GNAT Pro product from AdaCore, they would probably be
willing to add such a feature.


Alternatively, you could modify the compiler and run-time system
yourself to remove these line numbers.


- Bob


P.S. Note that I work for AdaCore.



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.