You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
packageother_pkgistyperec_tisrecord
field : integer;
endrecord;
endpackage;
packagebodyother_pkgisendpackagebody;
packagepkgistypeprot_tis protected
end protected;
endpackage;
-- Uncomment to make it work.-- library library_name;use work.other_pkg.all;
packagebodypkgistypeprot_tis protected bodyvariable rec : rec_t;
proceduremethodisbeginreportinteger'image(rec.field);
endprocedure;
endprotected body;
endpackagebody;
> nvc --work=library_name --std=2008 -a pkg.vhd** Error: no visible declaration for LIBRARY_NAME in name LIBRARY_NAME.PKG.PROT_T.REC File pkg.vhd, Line 25 report integer'image(rec.field); ^^^^^^^^^
The text was updated successfully, but these errors were encountered:
pkg.vhd:
The text was updated successfully, but these errors were encountered: