On 16-9-2011 18:25, Vincent Snijders wrote: > 2011/9/16 Reinier Olislagers <reinierolislag...@gmail.com>: >> On 16-9-2011 16:31, Vincent Snijders wrote: >> Thanks for the help, Vincent. >> Uploaded as mantis 20275: >> http://bugs.freepascal.org/view.php?id=20275 > > This comment seems not completely correct: > +// XMLXSDExport unit was introduced in FPC 2.6.0 > +// Unfortunately we can't test for 2.6 yet using conditional > +// compilation Fixed that: +{$IF FPC_FULLVERSION > 20500} +// XMLXSDExport unit was introduced in FPC 2.5.1. +{$DEFINE HASXMLXSDEXPORT} +{$ENDIF}
> 1, It is available in a version before 2.6.0: fpc 2.5.1 Fixed, see above. > 2. Why can't you test for fpc 2.6.0? OTOH, why do you want to do so? Testing for > 2.5.0 => 2.5.1 or up now I've attached a new zip to mantis issue http://bugs.freepascal.org/view.php?id=20275 Thanks, Reinier -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus