[fpc-pascal] Compilation Error At revision 25270.

waldo kitty wkitty42 at windstream.net
Sat Aug 17 12:30:49 CEST 2013


On 8/17/2013 04:44, Juha Manninen wrote:
> On Sat, Aug 17, 2013 at 3:40 AM, waldo kitty<wkitty42 at windstream.net>  wrote:
>> FWIW: i learned a while back (from the lazarus list i think) to perform
>> "make clean" before "svn up" because the make files may have changed and the
>> new ones may not know where the old files resided...
>>
>> performing "make clean" first clears the existing directories... then "svn
>> up" followed (possibly with another "make clean" and then) by your normal
>> build flow should result in a truly clean build flow without the possibility
>> of lingering old .o and/or .a build files...
>
> I don't think the extra "make clean" before "svn up" will really help
> because the generated object files are not under revision control.

right... but what happens when source files are moved from one directory to 
another? the original "make clean" will ensure that their compiled versions are 
removed before the "svn up" moves them and puts a new makefile in place that 
can't remove them because it doesn't know the old directory...

and it wouldn't be an "extra" "make clean" either... you are right that the .o 
and .a files are/should not be under revision control... that's why i stated 
"possibly" ;)

> To make sure you don't have local modifications in revisioned files, do :
> "svn revert -R ."

right... but that still doesn't do anything for makefile changes and source 
files moving from one directory to another leaving behind old .o and .a files 
that the compiler finds and uses leading to unexplained errors, bugs and problems...

i think i've explained it clearer now?

make clean
svn up
make

for the general basic flow...

-- 
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