[fpc-devel] Makeskel errors on Windows

Michael Van Canneyt michael at freepascal.org
Sat Dec 10 14:56:16 CET 2011



On Sat, 10 Dec 2011, Hans-Peter Diettrich wrote:

> Michael Van Canneyt schrieb:
>
>>> The addition of the win and win32 includes IMO was not a good decision,
>>> instead the parser should use the Linux target (as you assume) instead
>>> of the actual platform.
>> 
>> I don't think the parser is the problem.
>
> The problem are the (platform dependent) arguments, passed to the parser.
>
>>> To reduce further discussion, I'd suggest that you provide the fpdoc
>>> project(s) that create identical output on all platforms.
>> 
>> To my knowledge, there is no such project.
>
> ...and none will be unless somebody creates it :-(

That is a tautology.

>
> Unlike a Makefile, an fpdoc project (file) should behave the same on every 
> machine.
>

Good luck :)

>
>> If there are any technical problems with FPDoc, then I will try to solve 
>> them.
>> I am working on support for the new compiler features, such as nested types 
>> and type helpers and such. They are needed to parse the classes unit in 
>> trunk.
>
> The LCL problem is not related to new syntax, all units parse without errors. 
> But document creation crashes on screen.inc
>
>  FontEnumProc = function (var ELogFont:TEnumLogFont; var 
> Metric:TNewTextMetric;
>    FontType:longint; Data:LParam):longint; extdecl;

What exactly goes wrong ? 
It parses it just fine in a test environment, I just tested ?

Michael.



More information about the fpc-devel mailing list