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

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
klchin
Senior Boarder
Senior Boarder
Posts: 65
Joined: 02.09.2005, 06:27

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

Post 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.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post 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
Image
klchin
Senior Boarder
Senior Boarder
Posts: 65
Joined: 02.09.2005, 06:27

Post 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
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

SVN Commit 672.
Image
Post Reply