compile problem 
Author Message
 compile problem

  I don't understand what's the problem.
  Here is the error part of my code.  I included
  lines 690 and 691 because the problem refers to thes
  lines.

         NET_PAY is of type FLOAT  

  690           PROCEDURE print_pay( Net_Pay : IN OUT FLOAT;
  691                                 P_File : IN OUT FILE_TYPE ) IS

  862               PUT(P_FILE,NET_PAY,FORE => 1,AFT => 2,EXP => 0);
.......................1
%ADAC-E-INCONRSL, (1) Inconsistency detected during overload resolution [LRM 8.7]
%ADAC-I-SUPPMEAN, (1) For procedure call PUT the meanings considered are
            Call of procedure specification PUT (STRING) declared in TEXT_IO at line 124 (discarded because of too many
                actual parameters: number of actuals is 5, number of formals is 1)
            Call of procedure specification PUT (FILE_TYPE; STRING) declared in TEXT_IO at line 123 (discarded because
                of too many actual parameters: number of actuals is 5, number of formals is 2)
            Call of procedure specification PUT (CHARACTER) declared in TEXT_IO at line 117 (discarded because of too
                many actual parameters: number of actuals is 5, number of formals is 1)
            Call of procedure specification PUT (FILE_TYPE; CHARACTER) declared in TEXT_IO at line 116 (discarded
                because of too many actual parameters: number of actuals is 5, number of formals is 2)
        For P_FILE the meaning is subprogram 'in out' formal P_File at line 691 of limited private type FILE_TYPE in
            TEXT_IO at line 8
        For NET_PAY the meaning is subprogram 'in out' formal Net_Pay at line 690 of floating point type FLOAT in
            predefined STANDARD
        For literal 1 the result type is any integer type
        For literal 2 the result type is any integer type
        For literal 0 the result type is any integer type
~
~
~



Fri, 12 Aug 1994 06:36:19 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Weird compile problem.

2. Upgrade from c55d - g Compile problem

3. Compile problem

4. Compile problem

5. 32 bit compile problem

6. Compile Problems

7. Another CW4 compile problem...

8. OOP compile problems

9. App and project compile problem

10. Re compile problem

11. Compile problem! @)(@#(*

12. OOP compile problems

 

 
Powered by phpBB® Forum Software