Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!caen.engin.umich.edu!billkatt
From: billkatt@caen.engin.umich.edu (Steve Bollinger)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Problems with Think Pascal 2.0
Message-ID: <4013b241.129dc@blue.engin.umich.edu>
Date: 5 Dec 88 17:30:00 GMT
References: 
Reply-To: billkatt@caen.engin.umich.edu (Steve Bollinger)
Organization: caen
Lines: 34

In article  lipa@POLYA.STANFORD.EDU (William Lipa) writes:
>Well, here we go again. I haven't had any luck getting a response out of the
>Think technical support account (singer@harvard.harvard.edu), so I thought I'd
>post to the net in the hope that Rich might see my posting. I'd like to
>summarize all the problems I've found with version 2.0 of their compiler.
>
>2. Occasionally when you Build Code Resource or Build Application, the linker
>   will produce an error message "Duplicate File Name", even though you've
>   specifically OK'd the overwrite of the previous version in the dialog.

No, it isn't occasionally, it is always.  This is the same 'feature' as
LSP 1.0.  It only happens when you you try to build a file with the same
name as any file in the system folder.  It happens like this...
Lightspeed looks in the current folder for a file with the same name as the
one you wish to build, and since the System Folder is in the Poor Man's
Search Path (PMSP) it finds the file in your system folder.  Now, LSP somehow
ignores or forgets the fact that the file was found in the search path, not the
current folder.  Next, LSP tries to delete the found file, but it tries to
delete it from the current folder, this doesn't work.  Now LSP tries to create
a new file with that name, the the system returns an error because one with
that name already exists, the error you saw.
The moral of the story is that if you are building an INIT, RDEV, or cdev, then
build it directly into the system folder or onto another disk.

+----------------------+----------------------------------------------------+
| Steve Bollinger      | Internet: billkatt@caen.engin.umich.edu            |
| 4297 Sulgrave Dr.    +------+---------------------------------------------+
| Swartz Creek, Mi. 48473     | "My employer doesn't take my opinion any    |
+-----------------------------+  more seriously than you do."               |
| "You remember the IIe, it   +---------------------------------------------+
| was the machine Apple made before they decided people didn't need         |
| machines with big screens, color, or slots."                              |
|                                 - Harry Anderson (from NBC's Night Court) |
+---------------------------------------------------------------------------+