pragma Optimize
tws <[email protected]> Wed, 5 Dec 2018 16:52:11 +0100
| Newsgroups | gmane.comp.ide.gps.user |
|---|---|
| Organization | [email protected] |
| Message-ID | <[email protected]> |
Hi, I defined package ruiz is pragma Optimize(Time); ... end ruiz; and package body ruiz is pragma Optimize(Time); ... end ruiz; and tried to use it like: with ruiz;use ruiz program prm is pragma Optimize(Time); ... begin ... end prm; and get the warning: insufficient -O value in program prm. If I delete line "pragma Optimize(Time);" from program prm then there is no warning anymore, but also no optimization for Time. If I replace Optimize(Time) by Optimize(Space) everywhere, then I get the warning: must specify -Os in ruiz.adb , ruiz.ads and in program prm. Can you help? Best, tws