home *** CD-ROM | disk | FTP | other *** search
-
-
- Comments on Porting
- Menu Manager
- by Ford Aerospace
- to DEC Ada
- Tool 16
- August 2, 1985
-
- COMPILATION
- -----------
- A VMS command file was created from the ordered list of compilation units
- provided in MENUSRC.CO. We were able to recompile the Menu Manager with no
- changes.
-
-
-
- EXECUTION
- ---------
- We were unable to successfully execute the menu manager. Problems were
- encountered in the area of dynamic menmory allocation and the use of
- UNCHECKED_DEALLOCATION. A sequense of changes were made to eliminate the
- occurrence of PROGRAM_ERRORS and CONSTRAINT_ERRORS. After each correction,
- execution proceeded only slightly further before raising another exception.
- The modifications made (in order) were:
-
- 1. Added Pragma "Elaborate" to MENUREAD.ADA in PROCBLED.
-
- 2. Broke the assignment to TEMP into two statements to avoid constraint
- error.
-
- These problems, particularly the constraint error in PROCBLED, may possibly
- indicate errors in the DEC compiler.
-
-
-
- COMMENT
- ------
- The heavy use of generics made debugging this program difficult. The
- names reported by the debugger did not correspond to source text, indicating
- that clear reporting on generic instantiations is difficult for the debugger.
-
-