Error: Function is already declared Public/Forward
Original Reporter info from Mantis: Jesus @jramx
-
Reporter name: Jesus Reyes
Original Reporter info from Mantis: Jesus @jramx
- Reporter name: Jesus Reyes
Description:
the attached project (a subset for bug report purposes of fastgeo library: http://www.partow.net/projects/fastgeo/index.html )fails with:
fastgeobugreport.pas(24,12) Error: Function is already declared Public/Forward "Intersect(const TSegment2D,const TRectangle):Boolean"
fastgeobugreport.pas(24,12) Error: function header "Intersect" doesn't match forward : var name changes Segment1 => Segment
fastgeobugreport.pas(26,1) Fatal: There were 2 errors compiling module, stopping
tested under 1.9.4, 1.9.8,2.0.5,2.1.5, and recent compilers
Mantis conversion info:
- Mantis ID: 10425
- Fixed in version: 2.2.2
- Fixed in revision: 9840 (#34ff7931)