Package: gnat-3.2
Version: 1:3.2.3-0pre1

3.2.3 20030210 (prerelease) (i386-pc-linux-gnu)

Compiler gives a wrong error message:

pts/7:x,1$ gcc-3.2 -c -gnatN p.ads
p.ads:5:08: instantiation error at s-exctab.adb:169
p.ads:5:08: non-static call not allowed in preelaborated unit

package P is

    pragma Preelaborate;
    
    E: exception;
    
    procedure D;

end P;

package body P is

    procedure D is
    begin
        null;
    end;

end P;
-- 
Victor Porton ([EMAIL PROTECTED])



Reply via email to