[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::ada

Title:DEC Ada
Notice:Ada is no longer a trademark of the US Government
Moderator:KMOOSE::CMCCUTCHEON
Created:Mon Jan 27 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3874
Total number of notes:16668

3842.0. "SMART RECOMPILATION DOESNT DEPEND ON THE SPECS WITH LIST" by ADA9X::BRETT () Wed Feb 12 1997 11:07

The "SMART RECOMPILATION DOESNT DEPEND ON THE SPECS WITH LIST" problem


From:	PPANTR::AGMON        "Ronen Agmon"  6-JAN-1997 06:23:59.92
To:	ADA9X::BRETT


In addition, there is another attachment that include information of another 
problem with the PDO which is much more focused and easy to reproduce any
where.

%%%% I created a library and compiled the following files:

$ ty WITH_ME.ada
procedure With_Me is
begin
    null;
end With_Me;


$ ty USE_WITH_.ada
with With_Me;

procedure use_with;


$ ty USE_WITH.ada
procedure use_with is
begin
    With_Me;
end use_with;

$! Then edited and compiled USE_WITH_.ada
$ ty USE_WITH_.ada
-- with With_Me;

procedure use_with;

ConCon on MICHEL => ACS RECOMPILE/DEBUG/NOOP/LOG use_with
%ACS-I-CL_CHECKOK, All units current; no recompilations required
ConCon on MICHEL => ACS RECOMPILE/DEBUG/NOOP/LOG use_with/nosma

%ACS-I-CL_RECOMPILE1, The following units will be recompiled:
USE_WITH
    procedure body                  22-JAN-1997 08:11:46.79 (00:00:01.06)

1 obsolete unit
Total elapsed time for last compilation of the 1 obsolete unit was 0:00:01.06

%ACS-I-CL_COMPILING, Invoking the DEC Ada compiler

    3       With_Me;
............1
%ADAC-E-NOTDECL, (1) With_Me is not declared [LRM 8.3]
%ADAC-I-NOSRCINFODIA, No source file information will be included in the
        diagnostic file for the recompilation from copied source file
        DISK$CONCON:[CONCON.ASAF.RONEN.TRY.TRYACS]USE_WITH.ADC;1; original
        source file was compiled with the /NONOTE_SOURCE qualifier
%ADAC-E-ERRRECOMPILE, Errors recompiling procedure body use_with in file
        DISK$CONCON:[CONCON.ASAF.RONEN.TRY.TRYACS]USE_WITH.ADC;1
  Weak warnings:             1
  Errors:                    1
  Peak working set:       8004
  Virtual pages used:    11355
  Virtual pages free:   258789
  CPU time:              00:00:00.19    (1263 Lines/Minute)
  Elapsed time:          00:00:00.26
  Compilation complete
%ADAC-E-ENDDIAGS, Ada compilation completed with 2 diagnostics
%ACS-E-CL_ERRDURCOM, Errors during compilations

1 unit compiled in 00:00:01.14

%%%% So, the pdo thinks its not needed to recompile a body after a with it uses
%%%% was removed from the spec.
%%%% Nice, isn't it?
%%%% Asaf.

T.RTitleUserPersonal
Name
DateLines