i use the described workaround to use all packages in vhdl 2002.
additionally i had to change all library includes from
work.xxx
to
OSVVM.xxx
but still i get the warning:
— Loading package RandomPkg
###### /vobs/LibEME/SENSOR_INTERFACE_LIB/slave/HISI2REG/sim/tb/RandomPkg.vhd(1524): Size := find_leftmost(normMax, ‘1’) ;
** Error: /vobs/LibEME/SENSOR_INTERFACE_LIB/slave/HISI2REG/sim/tb/RandomPkg.vhd(1524): No feasible entries for subprogram “find_leftmost”.
###### /vobs/LibEME/SENSOR_INTERFACE_LIB/slave/HISI2REG/sim/tb/RandomPkg.vhd(1646): end RandomPkg ;
** Error: /vobs/LibEME/SENSOR_INTERFACE_LIB/slave/HISI2REG/sim/tb/RandomPkg.vhd(1646): VHDL Compiler exiting