thecocce / zengl

Automatically exported from code.google.com/p/zengl
0 stars 0 forks source link

Compilation error in zgl_application with FPC 2.6.0 under OS X #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
FPC 2.6.0 will not compile zgl_application under OS X. It stops in 
app_ProcessMessages at this line:

Move( c[ 0 ], str[ 1], len );

with the message "Wrong number of parameters specified to call to "Move".

It tries to call the Move procedure in the QuickDraw unit, which takes only 2 
parameters.

Changing the line to:

System.Move( c[ 0 ], str[ 1], len );

fixes the problem

Original issue reported on code.google.com by bil...@planet.nl on 1 Feb 2012 at 4:48

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1464.

Original comment by dr.andru@gmail.com on 1 Feb 2012 at 4:53