[Lazarus] CustomDrawn, Android: Crash on Device

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Dec 2 20:00:34 CET 2011


On Fri, 2 Dec 2011 19:07:58 +0100
Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com> wrote:

> On Fri, Dec 2, 2011 at 7:05 PM, Felipe Monteiro de Carvalho
> <felipemonteiro.carvalho at gmail.com> wrote:
> > To check for local changes, it should show only the -dAndroid in lclbase.lpk
> 
> This brings and interresting question: Did you add -dAndroid to your
> lclbase.lpk?

The LCLBase must only contain widgetset independent IDFEFs.
That means the {$IF defined(Android)} must be replaced with some FPC
macros or the code must be moved to the widgetsets.

Is there is an FPC define to figure out if CWString can be used on arm?

Mattias
 




More information about the Lazarus mailing list