[fpc-devel] Random compiler errors
Jeppe Græsdal Johansen
jjohan07 at student.aau.dk
Sun Feb 10 22:11:28 CET 2013
Den 10-02-2013 21:47, Adriaan van Os skrev:
> I maintain a large 600.000 FreePascal project that compiles for Mac OS
> X. It mixes MacPascal and Delphi compiler modes. Unfortunately the
> compiler is now producing random error messages, that disappear on a
> clean rebuild. The error messages are not clearly reproduceable.
> Sometimes, everything is OK, sometimes the incorrect error messages
> are there.
>
> I suspect corrupted .ppu files, I there a way to use a tool (like
> ppudump) or a specially built compiler to investigate this problem
> systematically, to get an idea of what is wrong ? I do builds through
> a Makefile. I could image always adding a ppudump to the builds and
> then looking at the output when random error messages popup, comparing
> the output to previous builds. Something like that.
>
> An automatic "ppu sanity mode" inside the compiler would even be better.
>
> Regards,
>
> Adriaan van Os
I have seen this behaviour when files with the same name is visible in
more places in the directories visible to the compiler, and one is
already built(valid .ppu available)
More information about the fpc-devel
mailing list