From: SourceForge.net <no...@so...> - 2004-01-28 01:08:56
|
Bugs item #885537, was opened at 2004-01-27 06:22 Message generated for change (Comment added) made by davygrvy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=885537&group_id=10894 Category: 51. Configure and Build Tools Group: develop: 8.5a0 Status: Open Resolution: None Priority: 5 Submitted By: Vince Darley (vincentdarley) Assigned to: David Gravereaux (davygrvy) Summary: makefile.vc/rules.vc keep asking for cd insertion Initial Comment: Various of the 'nmakehlp' commands executed by the msvc++ build, e.g.: nmakehlp -c -QI0f prompt me with a windows dialog box titled "cl.exe - No Disk", and a message "There is no disk in the drive. Please insert a disk into drive D:.", with options Cancel/Try Again/Continue. If this only happened once or twice it would be ok, but it happens about 20 times when I do 'nmake -f makefile.vc'. ---------------------------------------------------------------------- >Comment By: David Gravereaux (davygrvy) Date: 2004-01-27 17:08 Message: Logged In: YES user_id=7549 PS. delete nmakehlp.exe manualy so it's rebuilt from the changed sourcefile (can't really add that as it wouldn't be graceful). nmake is such a limited tool. ---------------------------------------------------------------------- Comment By: David Gravereaux (davygrvy) Date: 2004-01-27 17:02 Message: Logged In: YES user_id=7549 Oh, that seems to stop the console window from popping up, too. Also added a SetErrorMode() call to shutoff those messages. Just committed -r1.5 of nmakehlp.c Does this fix it? ---------------------------------------------------------------------- Comment By: David Gravereaux (davygrvy) Date: 2004-01-27 16:38 Message: Logged In: YES user_id=7549 The problem is probably in nmakehlp.c, I use a source file name of 'nul'. Maybe '.\nul' would be more correct? Can you try it. *** nmakehlp.c 23 Dec 2003 03:58:58 -0000 1.4 --- nmakehlp.c 28 Jan 2004 00:36:41 -0000 *************** *** 137,143 **** /* append our option for testing */ strcat(cmdline, option); /* filename to compile, which exists, but is nothing and empty. */ ! strcat(cmdline, " nul"); ok = CreateProcess( NULL, /* Module name. */ --- 137,143 ---- /* append our option for testing */ strcat(cmdline, option); /* filename to compile, which exists, but is nothing and empty. */ ! strcat(cmdline, " .\nul"); ok = CreateProcess( NULL, /* Module name. */ ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-01-27 16:00 Message: Logged In: NO vc++ 5.2, and yes, I'm in the 'win' directory. I believe (but haven't 100% verified yet) that the problem doesn't arise when I first turn my laptop on without using the cd-rom (D: drive). However, once the cd-rom has been used once, then I'm always asked unless of course there is a disk already in it. ---------------------------------------------------------------------- Comment By: David Gravereaux (davygrvy) Date: 2004-01-27 12:02 Message: Logged In: YES user_id=7549 This is wierd. what version of vc++? Is your local directory at the time you call nmake the win directory of the source? ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2004-01-27 06:39 Message: Logged In: YES user_id=80530 I know nothing about this. Passing to someone I hope does. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=885537&group_id=10894 |