A question concerning the stack_cleanup pragma discussed a week or so ago. Can
the pragma's scope apply only to a whole file, all files (common header) and/or
function body i.e. can its scope be varied? I'd like the pragma to apply to one
file of a project and also to one function of another file. The following email
implied that it was only for common headers:

Jun-Kiat Lam wrote:

> Hi Gabe,
>
> You could try doing this:
>
> put the following #pragma into your prefix file (or a common header) ...
>
> #pragma stack_cleanup on
>
> The compiler will clean up the stack after each call instead of at the end
> of each basic block, thus reducing stack usage.

Regards,
--
Christopher Hunt
Class Action Pty. Ltd.

Are you a time zone traveler that owns a Palm(tm) connected organizer?
Check out http://www.classactionpl.com/TimeTraveler/index.htm

Reply via email to