[fpc-devel] New bug in building RTL docs

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Jan 25 00:31:55 CET 2012


Michael Van Canneyt schrieb:
> 
> 
> On Tue, 24 Jan 2012, Hans-Peter Diettrich wrote:
> 
>> michael.vancanneyt at wisa.be schrieb:
>>
>>>>>> Today I had problems in the FPDocManager, where the scanner/parser 
>>>>>> throws an exception "String list does not allow duplicates". 
>>>>>> Reason may be duplicate include paths, definitely a duplicate 
>>>>>> -dCPU32 from both the parser and the commandline.
>>>>>
>>>>> The sources have been stripped from dupError a long time ago. So I 
>>>>> can't reproduce this.
>>>>
>>>> See pscanner.pp line 947, where FDefines is created with dupError.
>>>
>>> What is the problem ? Defines or include paths ?
>>
>> The problem is at least one list which reject duplicates. Since the
>> error message is too vague, I only can guess what may be the exact 
>> problem. Defines definitely are a problem.
> 
> Not here.

Perhaps not on your platform, but perhaps on many others. The -dCPU32 in 
the fpdoc commandline may be inserted on a Win64 platform only...
> 
> There is only 1 dupError in all the sources of fcl-passrc:

Yes, see above where it sits.

DoDi




More information about the fpc-devel mailing list