[fpc-devel] Include files with double names
Joost van der Sluis
joost at cnoc.nl
Wed Sep 7 16:29:51 CEST 2011
On Tue, 2011-09-06 at 21:58 +0200, Jonas Maebe wrote:
> On 06 Sep 2011, at 21:48, Joost van der Sluis wrote:
>
> > Can someone reproduce this? And what to do now? I've even did a touch on
> > the rtl/objpas/parser.inc, but that doesn't help.
>
> If you perform a top level "make all", the RTL and packages are compiled with -Ur so that it never gets recompiled. If you compile them manually, you should add that parameter yourself in most cases (unless you are debugging a bug regarding include files in the RTL). This problem is not specific to the RTL vs packages, it can also happen with any FPC-supplied unit and third party sources (which is why the -Ur parameter was implemented and activated by default when doing a "make all").
Didn't thought about that. Isn't it strange that the '-Fisrc' option
triggers this behavior? Using fpcmake this problem never occurs, even
not when the rtl is compiled separately, because there is no '-Fisrc'
option passed to the compiler.
Fpmake, as it is now, however, does pass it, so more people will
encounter this problem.
Joost.
--
My Lazarus blog: http://www.lazarussupport.com/lazarus/weblog
More information about the fpc-devel
mailing list