gnatgcc -c -pipe -O2 prog.adb
prog.adb:4:11: warning: file name does not match unit name, should be "string_oprations.adb"
prog.adb:5:21: warning: static value out of range of type "Standard.Positive"
prog.adb:5:21: warning: "Constraint_Error" will be raised at run time
prog.adb:6:20: warning: static value out of range of type "Standard.Positive"
prog.adb:6:20: warning: "Constraint_Error" will be raised at run time
prog.adb:8:19: warning: static value out of range of type "Standard.Positive"
prog.adb:8:19: warning: "Constraint_Error" will be raised at run time
prog.adb:16:05: actual for "Item" must be a variable
gnatmake: "prog.adb" compilation error