[fpc-devel] Re: makeskel fails to parse file

Pete Cervasio cervasio at airmail.net
Thu Sep 14 16:05:23 CEST 2006


On Thursday 14 September 2006 07:06, Graeme Geldenhuys wrote:

> Still not sure what in the IFDEF LINUX caused the problem though...
> Does makeskel and FPC support the "If Declared(...)" syntax?

This might not be a big help with your specific problem, but the set if IFDEFs 
doesn't quite work the way it looks like it's expected to, at least not in my 
copy of Kylix 3.

>       {$IFDEF CompilerVersion}

I believe this should be  {$IF DECLARED (CompilerVersion) } instead.  If I use 
the above $IFDEF, I always get the result that it's undefined unless I define 
it myself.

I hope this is helpful,
Pete C.



More information about the fpc-devel mailing list