Page 1 of 1

[patch_done] ZPlainAdo EOF cause C++B5 compile problem

Posted: 09.07.2009, 03:51
by klchin
Hi Marks,

Can you change the property of EOF and BOF for ZPlainAdo
to other character said Eof/Bof.

Because it cause compilation error under C++Builder 5.

Thx.

Posted: 09.07.2009, 09:28
by mdaems
klchin,

I'm not sure what you ask me to change exactly.
:oops: I know, I'm a little stupid when it comes to understand the problems other people have.

Can you just provide the patch as a diff (or even better : an svn patch file)? That way there's no way for misunderstanding.

Mark

Posted: 09.07.2009, 10:19
by klchin
Hi Mark,

Sorry dor un-clear request.

Under the ZPlainAdo.pas

Change from

property BOF: WordBool read Get_BOF;
property EOF: WordBool read Get_EOF;

To lines like below

property Bof: WordBool read Get_BOF;
property Eof: WordBool read Get_EOF;

Because under C/C++ 'EOF' defined in header fle stdio.h.

Regards,
KL Chin

Posted: 09.07.2009, 20:53
by mdaems
SVN Commit 672.