cortex-gnat-rts icon indicating copy to clipboard operation
cortex-gnat-rts copied to clipboard

Image of fixed-point type isn’t supported

Open simonjwright opened this issue 3 years ago • 0 comments

You can’t say, for example,

Fixed_Delta : constant := 0.001;
type Fixed is delta Fixed_Delta range -100.0 .. +100.0
  with Small => Fixed_Delta;
F : Fixed;

and then call F’Image; you get

images.adb:150:28: construct not allowed in configurable run-time mode
images.adb:150:28: file s-imfi32.ads not found
images.adb:150:28: entity "System.Img_Fixed_32.Image_Fixed32" not available

simonjwright avatar Mar 17 '22 21:03 simonjwright