[fpc-devel] generics and scoping rules

2015-05-08 Thread Martin Frb
What are the scoping rules? Example: TLazStorageMemBase = object private const CNT_OFFS = SizeOf(Pointer); DATA_OFFS = CNT_OFFS + (2 * SizeOf(Integer)); private FMem: PByte; function GetCapacity: Integer; inline; function GetCount: Integer; inline; . end; ge

Re: [fpc-devel] AArch64 port committed to svn trunk

2015-05-08 Thread Jonas Maebe
[replying on the list to a private message with consent from the original poster] On 07/05/15 12:38, Edmund Grimley Evans wrote: >> I've just committed the AArch64 (aka "ARM64") port to trunk. It >> currently only supports iOS, but adding Linux support should not be >> difficult. > > How difficul

Re: [fpc-devel] TProcess empty parameter

2015-05-08 Thread Marco van de Voort
In our previous episode, Jonas Maebe said: > > +var > > + { widechar, because also used by widestring -> pwidechar conversions } > > + emptychar : widechar;external name 'FPC_EMPTYCHAR'; > > FPC_EMPTYCHAR is for internal compiler usage. Importing it in other > units does not seem like a good ide

Re: [fpc-devel] TProcess empty parameter

2015-05-08 Thread Jonas Maebe
On 07/05/15 14:41, Marco van de Voort wrote: > Index: syspch.inc > === > --- syspch.inc(revision 30815) > +++ syspch.inc(working copy) > @@ -28,6 +28,11 @@ > { Processor independent part, shared with strings unit } >

Re: [fpc-devel] avr: Cannot link example project

2015-05-08 Thread Georg Hieber
Anton, Which version (build) of the compiler / rtl did you use? This looks like an error that should have been fixed some time ago. BR, Georg Am 06.05.2015 09:01, schrieb Anton Kavalenka: Dear FPC-All! I've tried to compile hello-world-through-UART example (in attacment) for Atmega128 and g