Strange error while mixing units with- and without- debug info
Original Reporter info from Mantis: alexionne
-
Reporter name: Aleksa Todorovic
Original Reporter info from Mantis: alexionne
- Reporter name: Aleksa Todorovic
Description:
Please, follow Steps (below) To Reproduce the problem.
Notice that the problem exists only if:
- lib\lib_test.pas is built without -g
- test\test.pas is build with -B -g
- both builds use same -FU option
Steps to reproduce:
- Extract test.rar
- Execute lib\build.bat -> this correctly builds lib_test.exe
- Execute test\build.bat -> this correctly builds test.exe
- Execute test\build_g.bat -> this correctly builds test.exe with -g
- Execute test\build_B.bat -> this correctly builds test.exe with -B
- Execute test\build_Bg.bat -> this FAILS to build test.exe with -B -g
- Execute test\build_Bg2.bat -> this deletes all files from lib\units and correctly builds test.exe with -B -g
- At this moment all test\build*.bat should correctly build test.exe
- If you execute lib\build.bat again (step 2), test\build_Bg.bat (step 6) will fail again until you delete files from lib\units.
- Execute lib\build2.bat -> this builds lib_test.exe, and uses -FUunits2
- If there are no files in lib\units, all test\build*.bat will correctly build test.exe.
- Execute lib\build_g.bat -> this build lib_test.exe, uses -g -FUunits
- All test\build*.bat will now correctly build test.exe
Mantis conversion info:
- Mantis ID: 15330
- OS: Windows XP
- Build: SVN 14420
- Platform: Win32
- Version: 2.5.1
- Monitored by: » alexionne (Aleksa Todorovic), » Vincent (Vincent Snijders)