Hello.
For quite many functions/Procedures, I get two warnings: warning: frame size too large for reliable stack checking warning: try reducing the number of local variables
Say what? Reducing the number of local variables? Here's an example:
PROCEDURE TTextEditItem.HandleKey(VAR theEvent:EventRecord); VAR i : SInt16; pt : Point; theChr : Char; theKey : SInt16; shift : BOOLEAN; option : BOOLEAN; control : BOOLEAN; command : BOOLEAN; lineHeight, ascent : SInt16; theStyle : TextStyle;
I say that's a small amount of (small) local variables, so how can there be too many?
And what is a "frame" and how can I reduce its size? Or better: How do I allow for a larger frame size?
This is GNU Pascal 3.4.6u2 on Mac OS X and Xcode 2.5.
Regards
Lennart Thelander System Developer Lennart.Thelander@atex.com Phone +46 (0) 42 25 39 05 Fax +46 (0) 42 25 39 29 Atex Media AB Garnisonsgatan 10C S-254 66 Helsingborg SWEDEN
Bringing new life to your media business www.atex.com
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.