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

  1.     COMMENTS on ADAFAIR85.SRC
  2.     by Rick Conn, 5 Jan 87
  3.  
  4.     I successfully compiled all but two modules in the ADAFAIR85.SRC
  5. file.  I did not attempt to execute any of the modules.
  6.     The compilations were done under VAX/VMS 4.4 with the DEC Ada
  7. compiler on a VAX 11/785.
  8.     The module for Universal Arithmetic was required by other modules,
  9. so I compiled it first.  The file name is UNIV_AR.ADA.  All other files were
  10. compiled in alphabetical order.  The full compilation order (as a VAX/VMS
  11. command sequence) is:
  12.  
  13. $ ada UNIV_AR.ADA      
  14. $ ada AKERMAN.ADA      
  15. $ ada BOOLVEC.ADA      
  16. $ ada BSEARCH.ADA      
  17. $ ada CAUCHFL.ADA      
  18. $ ada CAUCHFX.ADA      
  19. $ ada CAUCHUN.ADA      
  20. $ ada CHAR_DIR.ADA     
  21. $ ada CHAR_ENM.ADA     
  22. $ ada CHAR_TXT.ADA     
  23. $ ada CONPROD.ADA      
  24. $ ada DERIVED.ADA      
  25. $ ada FLOATVEC.ADA     
  26. $ ada FRIEND.ADA       
  27. $ ada INTVEC.ADA       
  28. $ ada INT_DIR.ADA      
  29. $ ada INT_TEXT.ADA     
  30. $ ada LOWLEV.ADA       
  31. $ ada PHYSICS.ADA      
  32. $ ada PROCCAL.ADA      
  33. $ ada QSORTPAR.ADA     
  34. $ ada QSORTSEQ.ADA     
  35. $ ada RENDEZ.ADA       
  36. $ ada SETS.ADA         
  37. $ ada SHARED.ADA       
  38.  
  39.     All files compiled quickly except for PHYSICS.ADA.  I ended up
  40. compiling PHYSICS.ADA in batch, and the following statistics are offered:
  41.  
  42.   Accounting information:
  43.   Buffered I/O count:          510      Peak working set size:   600
  44.   Direct I/O count:           1021      Peak page file size:    7512
  45.   Page faults:              345843      Mounted volumes:           0
  46.   Charged CPU time:     0 00:38:31.51   Elapsed time:     0 01:09:07.16
  47.  
  48.     The files DERIVED.ADA and LOWLEV.ADA did not compile correctly.
  49. The following are the diagnostics generated by these compilation attempts:
  50.  
  51.             DERIVED.ADA
  52.             -----------
  53. $ ada derived
  54.  
  55.    82            Second at 0 range  8 .. 23;
  56. .................1
  57. (1) The number of bits to represent record component Second at line 77 (from 
  58.         Originals at line 36) must be exactly 128
  59.  
  60.    86    for New_Block'Size use 32;
  61. .........1
  62. (1) The number of bits to represent type declaration New_Block at line 77 must 
  63.         be exactly 160
  64.     Error(s) compiling package specification Deriveds in file 
  65.         DRB2:[CONTR13.ADA2]DERIVED.ADA;1
  66.  
  67.    93   with Deriveds; use Deriveds;
  68. .............1
  69. (1) Unit Deriveds not found in library
  70. ...........................2
  71. (2) Deriveds is not declared
  72.  
  73.   101      Derived  : New_Block := New_Block(Original);
  74. ......................1
  75. (1) New_Block is not declared
  76. ...................................2
  77. (2) New_Block is not declared
  78.  
  79.   103      Copy : Block := Block(Derived);
  80. .................................1
  81. (1) Result type is unknown due to prior error related to variable Derived at 
  82.         line 101
  83.  
  84.   120      Put(Derived);
  85. ...............1
  86. (1) Result type is unknown due to prior error related to variable Derived at 
  87.         line 101
  88.  
  89.   124      Put(Derived'Size);
  90. ...............1
  91. (1) Result type is unknown due to prior error related to variable Derived at 
  92.         line 101
  93.  
  94.   132      if Copy = Original and Derived'Size = 32 then
  95. ..................................1
  96. (1) Result type is unknown due to prior error related to variable Derived at 
  97.         line 101
  98.     Error(s) compiling procedure body Change_Representation in file 
  99.         DRB2:[CONTR13.ADA2]DERIVED.ADA;1
  100.  
  101.  
  102.         LOWLEV.ADA
  103.         ----------
  104. Ada compilation completed with 6 diagnostics
  105. $ ada lowlev
  106.  
  107.    44      type Int is range 0 .. 2**No_Of_Bits - 1;
  108. ................................................1
  109. (1) Value 4294967295 is outside implemented range -2147483648 .. 2147483647 of 
  110.         any integer type
  111.  
  112.    57      for Bit_String'Size use No_Of_Bits;
  113. ...........1
  114. (1) The number of bits to represent index constraint at line 56 must be exactly 
  115.         256
  116.     Error(s) compiling procedure body Change_Types in file 
  117.         DRB2:[CONTR13.ADA2]LOWLEV.ADA;1
  118. Ada compilation completed with 2 diagnostics
  119.