CodeTools does not work when targetting arm-linux with software floating point
Original Reporter info from Mantis: sekelsenmat
-
Reporter name: Felipe Monteiro de Carvalho
Original Reporter info from Mantis: sekelsenmat
- Reporter name: Felipe Monteiro de Carvalho
Description:
On linux, when targeting arm-linux, codetools is totally broken. For example, with this concrete steps:
1> Open the project lazarus-ccr/examples/androidlcl/androidlcl.lpi
2> Make sure the build mode is "Android"
3> Open the file mainform.pas
4> Try to use "Find Declaration" or even insert an event in a component on the form
Result:
It goes to /usr/share/fpcsrc/rtl/inc/softfpu.pp
{*
-------------------------------------------------------------------------------
Returns the square root of the double-precision floating-point value `a'.
The operation is performed according to the IEC/IEEE Standard for Binary
Floating-Point Arithmetic.
-------------------------------------------------------------------------------
*}
Procedure float64_sqrt( a: float64; var out: float64 ); compilerproc;
The cursor is in the "out"
The error is:
/usr/share/fpcsrc/rtl/inc/softfpu.pp(200,41) Error: identifier expected, but out found
Mantis conversion info:
- Mantis ID: 20060
- Fixed in version: 0.9.30.1 (SVN)
- Fixed in revision: 32062 (#76ed2c59)