[fpc-devel] New bug in building RTL docs

Michael Van Canneyt michael at freepascal.org
Tue Jan 24 23:07:21 CET 2012



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.

There is only 1 dupError in all the sources of fcl-passrc:

home: >grep -i dupError *

pscanner.pp:580:  FStreams.Duplicates:=dupError;
And that one is on purpose. In all other code there is no dupError.

In fpdoc there is no dupError at all:

home: >grep -ni dupError *.pp
home: >

All the code is checked in, so I suggest you check your installation.

Michael.



More information about the fpc-devel mailing list