On 22.05.2015 13:57, Mattias Gaertner wrote:
dcpcrypt packages has $(PkgOutDir) in "other units files (-FU)"Do you mean (-Fu)?
Yes, (-Fu) wrong typo, sorry
>and I wrote component, it has about.pas, in project has same name unit too.Your backtrace shows ../packager/interpkgconflictfiles.pas:182 which is about a ppu file, not a .pas file. Can you update your svn and see what error message you get now?
I redo error, and I get this error lines in r49131UGS_About.ppu same name in my wrote component and in project, I renamed in component so problem fixed for me ERROR in IDE: bug: src is compiled file: SrcFile.Filename=/opt/proje_laz/projeler/Dental/lib/x86_64-darwin-qt/UGS_About.ppu
Creating gdb catchable error: [New Thread 0x1d17 of process 4733] Program received signal SIGFPE, Arithmetic exception. 0x0000000100696c51 in RAISEEXCEPTION (MSG=0x11cd73f58 'bug: src is compiled file: SrcFile.Filename=/opt/proje_laz/projeler/Dental/lib/x86_64-darwin-qt/UGS_About.ppu') at ideprocs.pp:2278
2278 if (length(Msg) div (length(Msg) div 10000))=0 then ; (gdb) bt #0 0x0000000100696c51 in RAISEEXCEPTION (MSG=0x11cd73f58 'bug: src is compiled file: SrcFile.Filename=/opt/proje_laz/projeler/Dental/lib/x86_64-darwin-qt/UGS_About.ppu') at ideprocs.pp:2278 #1 0x0000000100b51dbb in ADD (this=0x11d731ea0, SRCFILE=0x11dd10c80, PPUFILE=0x0) at ../packager/interpkgconflictfiles.pas:182 #2 0x0000000100b53a35 in CHECKDUPLICATESRCFILES (parentfp=0x7fff5fbfdb10) at ../packager/interpkgconflictfiles.pas:993 #3 0x0000000100b537a4 in CHECKINTERPKGFILES (IDEOBJECT=0x10fb57310, PKGLIST=0x11793c680, FILESCHANGED=false)
at ../packager/interpkgconflictfiles.pas:1064
I have one unit1.lfm, but after compile project, compiler copied it to ppu file(s)'s folder. so 2 lfm files been in path, I'm talk about this.>and Ported components has search path same unit name too. >late you know, in messages window, some time I saw dublicate file >xxx.lfm file. compiler copy lfm files to o and ppu files folder, need >filter or check path then add to warning.The IDE should warn if an .lfm file is in two packages (or project and a package). Mattias
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
