www.delorie.com/gnu/docs/gcc/gnat_ug_217.html   search  
 
Buy the book!


Untitled Document

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

21.6 Correcting the List of Eliminate Pragmas

In some rare cases it may happen that gnatelim will try to eliminate subprograms which are actually called in the program. In this case, the compiler will generate an error message of the form:

 
file.adb:106:07: cannot call eliminated subprogram "My_Prog"

You will need to manually remove the wrong Eliminate pragmas from the `gnat.adc' file. It is advised that you recompile your program from scratch after that because you need a consistent `gnat.adc' file during the entire compilation.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003