[fpc-pascal] fpdoc and multiple Include paths issue

Michael Van Canneyt michael at freepascal.org
Tue Jun 8 13:26:13 CEST 2010



On Tue, 8 Jun 2010, Graeme Geldenhuys wrote:

> Hi
>
> Is fpdoc supposed to handle multiple include paths with one -Fi parameter?
> eg:
>    --input='-Fi../src/corelib;../src/corelib/x11
> ../src/corelib/fpg_utils.pas' --descr=xml/corelib/fpg_utils.xml \
>
>
> The above line fails. fpdoc cannot find the include file used my
> fpg_utils.pas unit. Changing that line to rather use two -Fi
> parameters seems to fix it. But isn't fpdoc supposed to can handle
> multiple paths in one -Fi param?

No. You must specify a -Fi per path. It doesn't split the path.
(coincidentally, the path separator is : on linux, not ; :))

Michael.



More information about the fpc-pascal mailing list