[fpc-devel] Alternative parsers

Sven Barth pascaldragon at googlemail.com
Tue Oct 19 11:45:39 CEST 2010


Am 19.10.2010 11:43, schrieb Jonas Maebe:
>
> On 19 Oct 2010, at 11:18, Graeme Geldenhuys wrote:
>
>> cresstr.pas(149,178) Error: Identifier not found "DefaultSystemCodePage"
>> cresstr.pas(165,117) Error: Identifier not found "DefaultSystemCodePage"
>> cresstr.pas(170,126) Error: Identifier not found "DefaultSystemCodePage"
>> cresstr.pas(320) Fatal: There were 3 errors compiling module, stopping
>
> I'm not sure how that's related to the merge I did. DefaultSystemCodePage is a system unit variable that was introduced in the cpstrnew branch. The error message suggests that you are trying to compile the cpstrnew compiler against an RTL from a different version. The cpstrnew compiler depends on the cpstrnew RTL.

Can it be then that the compiler (or at least that part of the code) is 
not checking whether its compiled using an older or a newer RTL?

Isn't the process normally "compile new compiler with old RTL, compile 
new RTL with this compiler, compile new compiler with new RTL"?

Regards,
Sven



More information about the fpc-devel mailing list