Thanks, it was my own fault.
Now it works fine!
BTW, I found that CW compiler is a bit better than GNU.
For the same source CW generated 27473 bytes of code, GNU -- 31086.
In both cases all possible save-space optimization was turned on.
Ivan
Jun-Kiat Lam wrote:
>
> Ivan,
>
> Sorry for not seeing your mail earlier. Unfortunately there isn't enough
> information for me to resolve this problem. Can you clarify what version of
> Codewarrior you are using, your exact setup, and which project you are
> using? This would help in narrowing the problem down further.
>
> Rgds,
> JK Lam
> Metrowerks Technical Support
>
> ----- Original Message -----
> From: Ivan Shiyan <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, May 21, 1999 6:16 PM
> Subject: "illegal use of precompiled header"
>
> > This error occurs in different PalmOS header files.
> > What should I tune in CW to get rid of it?
> >
> > Please help...
> > Ivan
> >