Zitat von Michael Van Canneyt :
Show quoted text 10 lines
On Fri, 14 Nov 2008, Mattias Gärtner wrote:
> Hi,
>
> The mysqlconn.inc uses macros. This is unnecessary and has some
disadvantages.
Namely, the lazarus codetools get confused :-)
... and the users, that (mis)uses this code as example for coding. I think it is a great FPC feature, that the most native and platform independent language allows to code without macros (not only in theory).
Show quoted text 10 lines
> Here is a patch that replaces the macros with simple type aliases.
Good idea...
> As far as I can see mysqlconn.inc is the same for fpc 2.3.1 and fpc 2.2.x,
> so the patch should work for both.
Applied, and will merge to 2.2.3 so it gets included in 2.2.4.
That is, after I finished merging all my other patches...
thanks,
Mattias