Re: [fpc-devel] New bug in building RTL docs
Michael Van Canneyt schrieb: On Tue, 24 Jan 2012, Hans-Peter Diettrich wrote: michael.vancann...@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 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] New bug in building RTL docs
On Tue, 24 Jan 2012, Hans-Peter Diettrich wrote: michael.vancann...@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. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] New bug in building RTL docs
michael.vancann...@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. The reported problems exist since my last FPC 2.7 SVN update (yesterday), they did not exist in the last months. For this one, please file a separate bug report. I could find out one trouble maker: Windows Update :-( Even if I had disabled all updates, this month 2 updates have been installed - restored to preceding restorepoint and now the Makefile works again :-) I'm still clueless about the syntax errors. They don't show up when calling fpdoc on the commandline, but they show up when using the fpdoc units in FPDocManager. I'll have to check all my installations now, which may be garbled from preceding attempts to fix the problems caused by Windows. DoDi ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] New bug in building RTL docs
On Tue, 24 Jan 2012, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: On Mon, 23 Jan 2012, Hans-Peter Diettrich wrote: 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 ? If you think there is a problem with double defines, please state this clearly. From your report I understand you think there is a problem with include paths. I cannot reproduce this: Yesterday I built FCL and RTL with ALL include paths doubled. Everything went well, so I think the problem is on your machine. If you think there is an additional problem with defines, then state this clearly or at the very least in a separate report. Another parser error occurs in systemh.inc line 283 col. 30: UCS4Char= type 0..$10; where the parser expects an "=" after "type". Wasn't this syntax recognized already before 2.6? As far as I know, I have fixed this already in trunk. The reported problems exist since my last FPC 2.7 SVN update (yesterday), they did not exist in the last months. For this one, please file a separate bug report. Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel