Sign in Join

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

Mailing lists / fpc-pascal / 2008-03

svn_types.inc(432,73) Error: ; expected, but psvn_error_t found

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

ik

Hello,

I have the following code:

type
 psvn_log_message_receiver_t = ^svn_log_message_receiver_t;
 svn_log_message_receiver_t  = function (baton         : pointer;
                                         changed_paths : papr_hash_t;
                                         revision      : svn_revnum_t;
                                         author        : PChar;
                                         date          : PChar;
                                         message       : PChar;
                                         pool          : Papr_pool_t)
: psvn_error_t;

The compiler (FPC v2.2.0) gives me the subject's message, but I can't figure out what is wrong.
Can anyone here see what am I missing/doing wrong here ?

Thanks,
Ido

Reply by email

ik
to Michael Van Canneyt: Works fine here with 2.2.0 ? Michael.

It seems to be Lazarus error... I need to compile a new version to see if it was specific or a bug of some sort... It seems that the papr_hash_t is undefined in apr.pas, and instead of raising error on that lazarus raised on the end of the declaration.

Ido

Michael Van Canneyt wrote 31 lines
On Sat, 8 Mar 2008, ik wrote: > Hello, > > I have the following code: > > type > psvn_log_message_receiver_t = ^svn_log_message_receiver_t; > svn_log_message_receiver_t = function (baton : pointer; > changed_paths : papr_hash_t; > revision : svn_revnum_t; > author : PChar; > date : PChar; > message : PChar; > pool : Papr_pool_t) > : psvn_error_t; > > The compiler (FPC v2.2.0) gives me the subject's message, but I can't > figure out what is wrong. > Can anyone here see what am I missing/doing wrong here ? Works fine here with 2.2.0 ? Michael. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Michael Van Canneyt
to ik: I have the following code: type psvn_log_message_receiver_t = ^svn_log_message_receiver_t;
ik wrote 18 lines
Hello, I have the following code: type psvn_log_message_receiver_t = ^svn_log_message_receiver_t; svn_log_message_receiver_t = function (baton : pointer; changed_paths : papr_hash_t; revision : svn_revnum_t; author : PChar; date : PChar; message : PChar; pool : Papr_pool_t) : psvn_error_t; The compiler (FPC v2.2.0) gives me the subject's message, but I can't figure out what is wrong. Can anyone here see what am I missing/doing wrong here ?

Works fine here with 2.2.0 ?

Michael.

Reply by email