Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > 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). > > 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 _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel