[fpc-devel] Makeskel errors on Windows

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sat Dec 10 14:42:51 CET 2011


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 :-(

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


> 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;

where "extdecl" is a macro:

{$ifdef WinCE}
   {$define extdecl := cdecl}
{$else}
   {$define extdecl := stdcall}
{$endif}

Should I create an bug report?

DoDi



More information about the fpc-devel mailing list