[fpc-pascal] Re: Compilation Error At revision 25270.
waldo kitty
wkitty42 at windstream.net
Sun Aug 18 15:43:37 CEST 2013
On 8/18/2013 02:52, Reinier Olislagers wrote:
> On 17/08/2013 19:34, waldo kitty wrote:
[...]
>> so you started as #1 above and svn up to #2... when you run make clean,
>> the old mylib.o,.a,.ppu files are still in \projects\myproject somewhere
>> and may be used by the compiler instead of those that should be in
>> \projects\libs where you moved your mylib.pas file to...
>>
>> is that clearer now??
>
> I'll take you at your word. I don't use makefiles in my projects.
right but others (FPC and Lazarus) do... not to mention that it was an example
and i didn't feel like laying out the whole lazarus tree to show it from that
perspective...
in any case, failing to run "make clean" or "make disclean" /before/ "svn up"
can lead to problems with old libraries being left in old locations when files
are moved... we've seen this exact situation with Lazarus in numerous cases...
the standard response has been to run the "Clean up build files" option which
removes all .o, o., and .ppu files so they can be rebuilt from the proper source
files from their (new) locations...
question: at what point does your updater tool perform "make clean" or "make
distclean"? before or after or both, before and after, the svn update?
--
NOTE: No off-list assistance is given without prior approval.
Please keep mailing list traffic on the list unless
private contact is specifically requested and granted.
More information about the fpc-pascal
mailing list