after changing code in Unit Unit not recompiled, old .ppu / .o used
<h3><details><summary>Original Reporter info from Mantis: <small>jc99</small></summary><small> - **Reporter name:** Joe care </small></details></h3> ## Description: I have a Project where (Test-)Project, TestCases-Units, Source-Units, ProjOut and EXE are each stored in different places.<br/> Proj: ...\Project\FPC<br/> Source: ...\Project\Source<br/> Testcases: ...\Project\test<br/> ProjOut: ...\Project\bin\i386-win32<br/> Exe: ...\Project\bin<br/> {$mode delphi} <br/> Units from Source and Test are linked in using the<br/> uses<br/> &LtPos;unit> in &LtPos;Path> e.g: TestCase1 in '..\test\Testcase1.pas', <br/> when ProjOut is empty it's OK<br/> when *.ppu and *.o files in ProjOut no recompile (new EXE is generated) ## Steps to reproduce: 1. New Proj <br/> 2. save as ..\fpc\proj1<br/> 3. New Unit1<br/> 4. Save as ..\source\unit1.pas (omit add to path)<br/> 5. edit Proj to use Unit1<br/> 6. Compile<br/> 7. Change Unit1<br/> 8. Compile again (Unit1 not recompiled) ## Additional information: when ../source and ../test in Other Units (-Fu) path everything seems fine <br/> deleting them: Problem exists<br/> Problem also exists in objfpc-Mode ## Mantis conversion info: - **Mantis ID:** 26760 - **OS:** Windows - **OS Build:** Win7 x64 - **Build:** release - **Platform:** i386 - **Version:** 2.6.4 - **Fixed in version:** 3.3.1 - **Fixed in revision:** 49587 (#924f9466f0219cab6ea5c52da9b5676c97f9cf5d),49613 (#2a2576b1d5c6335deb98c92f51344903e912c7ee) - **Monitored by:** » jc99 (Joe care), » @onpok (Ondrej Pokorny)
issue