Sign in Join

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

Mailing lists / lazarus / 2017-10

Forward procedure completion failure

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Lubos Pintes

Hi,
Just wanted to try the cool feature, adding a procedure body to implementation. So I wrote a procedure header, pressed Ctrl+Shift+C, and found this in a message window:
uiacore.pas(9,1) Error: unknown section keyword interface found I tried to compile, and only errors there are two unresolved forward declaration, those I just wrote.
Isn't this weird?

Reply by email

Mattias Gaertner
to Lubos Pintes
Show quoted text 8 lines
Hi, Just wanted to try the cool feature, adding a procedure body to implementation. So I wrote a procedure header, pressed Ctrl+Shift+C, and found this in a message window: uiacore.pas(9,1) Error: unknown section keyword interface found I tried to compile, and only errors there are two unresolved forward declaration, those I just wrote. Isn't this weird?

I fixed that yesterday. Please update and test.

Mattias

Reply by email

Ondrej Pokorny
to Lubos Pintes: Just wanted to try the cool feature, adding a procedure body to implementation. So I…
Lubos Pintes wrote 7 lines
Just wanted to try the cool feature, adding a procedure body to implementation. So I wrote a procedure header, pressed Ctrl+Shift+C, and found this in a message window: uiacore.pas(9,1) Error: unknown section keyword interface found I tried to compile, and only errors there are two unresolved forward declaration, those I just wrote. Isn't this weird?

Try to update your SVN trunk.

- https://bugs.freepascal.org/view.php?id=32513
- https://bugs.freepascal.org/view.php?id=32451

Ondrej

Reply by email

Lubos Pintes
to Mattias Gaertner: On Wed, 11 Oct 2017 16:00:49 +0200 I fixed that yesterday. Please update and test. Mattias

Yes, it works. Sorry for spamming. In fact, I updated the trunk, but didn't rebuild. I didn't feel it is necessary.
Dňa 11. 10. 2017 o 16:07 Mattias Gaertner via Lazarus napísal(a):

Show quoted text 16 lines
On Wed, 11 Oct 2017 16:00:49 +0200 Lubos Pintes via Lazarus wrote: > Hi, > Just wanted to try the cool feature, adding a procedure body to > implementation. So I wrote a procedure header, pressed Ctrl+Shift+C, and > found this in a message window: > uiacore.pas(9,1) Error: unknown section keyword interface found > I tried to compile, and only errors there are two unresolved forward > declaration, those I just wrote. > Isn't this weird? I fixed that yesterday. Please update and test. Mattias

Reply by email