[fpc-devel] Problem documenting source code
After adding documentation for some items in the FPDoc Editor, I have problems running MakeSkel or FPDoc. Both report errors in the input file, which seem to be related to wrong or missing compiler options for that file. How can a documentation writer determine the required compiler options, so that the fpdoc tools can be made work? In former times[tm] I used make all -n in the source directory, to make the compiler options visible. But this approach fails now, the fpmake commandlines are not informative enough for that purpose. It may be a bad example (work in progress?), but I couldn't figure out the required compiler options for e.g. fcl-process/pipesipc.pp, in an attempt to create the skeletons for the fcl-process package. DoDi ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Problem documenting source code
On Fri, 17 Feb 2012, Hans-Peter Diettrich wrote: After adding documentation for some items in the FPDoc Editor, I have problems running MakeSkel or FPDoc. Both report errors in the input file, which seem to be related to wrong or missing compiler options for that file. How can a documentation writer determine the required compiler options, so that the fpdoc tools can be made work? In former times[tm] I used make all -n in the source directory, to make the compiler options visible. But this approach fails now, the fpmake commandlines are not informative enough for that purpose. It may be a bad example (work in progress?), but I couldn't figure out the required compiler options for e.g. fcl-process/pipesipc.pp, in an attempt to create the skeletons for the fcl-process package. Why would you want to do that ? These units are fully documented ? Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Problem documenting source code
michael.vancann...@wisa.be schrieb: It may be a bad example (work in progress?), but I couldn't figure out the required compiler options for e.g. fcl-process/pipesipc.pp, in an attempt to create the skeletons for the fcl-process package. Why would you want to do that ? I simply wanted to generate the skeletons for some FCL packages, based on --input-dir. The mentioned problems can occur with every source file. These units are fully documented ? In which version? DoDi ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel