On Mon, 08 Oct 2007 23:05:04 +0200
Marc Weustink <[EMAIL PROTECTED]> wrote:

> Mattias Gaertner wrote:
> > On Mon, 08 Oct 2007 17:46:04 +0400
> > 12 12 <[EMAIL PROTECTED]> wrote:
> > 
> >> Bug: Lazarus opens twice the same source file!
> >>
> >> I use relative paths for units. This simplifies moving of project.
> >> This way i add to compiler options in "Other units" section:
> >>
> >> ../../includes\
> >> ../../../../Library\
> >> ../../../../Library/LazRGBGraphics\
> >> ../../../../Library/vfp\
> >>
> >> The project uses unit unEdgePositionFinder.pas located in 
> >> ../../includes\.
> >> But when i "Ctrl + click" with mouse on unit name in "Uses" section
> >> of main form unit
> >> Lazarus opens unit unEdgePositionFinder.pas twice!
> >> The path for each copy displayed at bottom of edit window.
> >> The first has path 
> >> D:\projects\ThickLazarus\includes\unEdgePositionFinder.pas.
> >> The second has path 
> >> D:\projects\ThickLazarus\utils\CamCalibration\../../includes\unEdgePositionFinder.pas.
> > 
> > I didn't know, that windows allows using / as path delimiter.
> 
> Windows itself not, but the utilities we use do. 

Which utilities? He said, he just opens a file.
OTOH he said, "The project uses unit unEdgePositionFinder.pas located
in ../../includes\" - which I guess he does not mean literally, but
I guess he really means "The project uses unit unEdgePositionFinder.pas
located in ..\..\includes\".


> When switching a 
> project between linux and linux sometimes the / stays in the path

Do you mean between windows and linux?
What paths stay? The unit path? Include path?


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to