2009/12/20

Lazarus error: "duplicate identifier"

I was converting some code from Delphi to Lazarus and I find it this error: "duplicate identifier".
The solution was to put at the beginning of the unit the next piece of code:
{$code delphi}
{$h+}