home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / menu / mman.cmm next >
Encoding:
Text File  |  1988-05-03  |  1.5 KB  |  43 lines

  1.      
  2.      
  3.                      Comments on Porting
  4.                         Menu Manager      
  5.                       by Ford Aerospace 
  6.                         to DEC Ada
  7.                                                                 Tool 16 
  8.                                                                 August 2, 1985
  9.      
  10. COMPILATION
  11. -----------
  12.   A VMS command file was created from the ordered list of compilation units
  13.   provided in MENUSRC.CO.  We were able to recompile the Menu Manager with no 
  14.   changes.
  15.      
  16.      
  17.  
  18. EXECUTION
  19. ---------
  20.   We were unable to successfully execute the menu manager.  Problems were 
  21.   encountered in the area of dynamic menmory allocation and the use of 
  22.   UNCHECKED_DEALLOCATION.  A sequense of changes were made to eliminate the 
  23.   occurrence of PROGRAM_ERRORS and CONSTRAINT_ERRORS.  After each correction,
  24.   execution proceeded only slightly further before raising another exception.
  25.   The modifications made (in order) were:  
  26.  
  27.   1.  Added Pragma "Elaborate" to MENUREAD.ADA in PROCBLED.
  28.  
  29.   2.  Broke the assignment to TEMP into two statements to avoid constraint
  30.       error.
  31.  
  32.   These problems, particularly the constraint error in PROCBLED, may possibly
  33.   indicate errors in the DEC compiler. 
  34.   
  35.  
  36.      
  37. COMMENT
  38. ------
  39.   The heavy use of generics made debugging this program difficult.  The 
  40.   names reported by the debugger did not correspond to source text, indicating
  41.   that clear reporting on generic instantiations is difficult for the debugger.
  42.  
  43.