Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-04

Strange behaviour in code generation of function / procedure body

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

A Simple example: (with lazarus 0.9.26.3)

Procedure MyProcedure; overload; stdcall;

Now Hit ctrl + shift + C to generate the body of this procedure.

You'll get the following code:

Procedure MyProcedure;
begin
end;

The compiler now screams, because sdtcall is missing in the body declaration.
Of course the overload attribute does not matter here.

Is this behaviour intented?
bug?
feature?

esby / Y. tennevin

Reply by email