Re: [fpc-pascal] Ansistrings under Android

2011-02-22 Thread Dejan Boras
It's a problem I can work around, but I'm not sure how this affects the functionality of ansistrings. - Original Message - From:Thomas Schatzl To:FPC-Pascal users discussions Cc: Sent:Tuesday, February 22, 2011 10:44 PM Subject:Re: [fpc-pascal] Ansistrings under Android H

Re: [fpc-pascal] Ansistrings under Android

2011-02-22 Thread Thomas Schatzl
Hi, On Tue, 22 Feb 2011 13:34:06 -0500, Andrew Haines wrote: > On 02/22/11 12:06, de_jean_ wrote: >> Now that I have a working fpc crosscompiler for Android, and all the >> code runs ok, I encountered another problem. Namely working with >> ansistrings causes crashes. For example, in a simple

Re: [fpc-pascal] Ansistrings under Android

2011-02-22 Thread de_jean_7777
On 22.2.2011. 19:34, Andrew Haines wrote: Not sure if this is the case for you but I started writing a program for arm wince device and I had some trouble because of unaligned access to strings. So "FooString := BarString" in some instances might cause a AV. But "FooString := unaligned(BarString

Re: [fpc-pascal] Ansistrings under Android

2011-02-22 Thread Andrew Haines
On 02/22/11 12:06, de_jean_ wrote: > Now that I have a working fpc crosscompiler for Android, and all the > code runs ok, I encountered another problem. Namely working with > ansistrings causes crashes. For example, in a simple test, calling the > str() routine will cause a crash due to a run-t

[fpc-pascal] Ansistrings under Android

2011-02-22 Thread de_jean_7777
Now that I have a working fpc crosscompiler for Android, and all the code runs ok, I encountered another problem. Namely working with ansistrings causes crashes. For example, in a simple test, calling the str() routine will cause a crash due to a run-time 216 error (general protection fault). I