[Lazarus] CodeTools error when using 'section' keyword

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Oct 23 09:51:32 CEST 2014


> Michael Ring <mail at michael-ring.org> hat am 22. Oktober 2014 um 09:38
> geschrieben:
> 
>  I did a little digging, Sven is right, this is only for embedded targets; I
> found the following in systems.pas:
> 
>         { all embedded systems }
>         systems_embedded = [system_i386_embedded,system_m68k_embedded,
>                             system_alpha_embedded,system_powerpc_embedded,
>                             system_sparc_embedded,system_vm_embedded,
>                             system_iA64_embedded,system_x86_64_embedded,
>                             system_mips_embedded,system_arm_embedded,
>                             system_powerpc64_embedded,system_avr_embedded,
>                            
> system_jvm_java32,system_mipseb_embedded,system_mipsel_embedded];
> 
>         { all systems that allow section directive }
>         systems_allow_section = systems_embedded;
> 
>  I found the first occurence of this in the sources of fpc 2.4.0

Thanks. I added it. Please test.

Mattias




More information about the Lazarus mailing list