[Scummvm-devel] Cross-Compiling issues
Klaus Reimer
k at ailis.de
Mon May 9 15:22:47 CEST 2011
On 05/09/2011 02:42 PM, Klaus Reimer wrote:
> Hm... Haven't noticed any problems at runtime so far... But now you
> managed to frighten me, thanks ;-) I'll investigate further if this can
> cause issues. Yes, the libraries on WebOS 1 were compiled with GCC 4.2
> while the libs on WebOS 2 were compiled with GCC 4.3.
I wrote a small test program which uses vprintf with a va_list argument.
Works correctly on the phone. And usage of vprintf alone doesn't trigger
the warning anyway. Looks like this warning is only triggered by the
functions in ScummVM which have a va_list argument. I also wrote a test
program with a va_list function parameter. This generates the compiler
warning but it still works correctly on the phone.
So in my opinion these compiler notices can be ignored. There is a
"-no-psabi" compiler option which disables this notice. But I can't find
any documentation about this option so I don't know if it just disabled
the notice or if it does more than that.
--
Bye, K <http://www.ailis.de/~k/>
[A735 47EC D87B 1F15 C1E9 53D3 AA03 6173 A723 E391]
(Finger k at ailis.de to get public key)
More information about the Scummvm-devel
mailing list