[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Win32 build problems
I've run into this problem with the VC4.2 compiler, and it seems to be
the precompiled headers. I made a batch file to zap PCH stuff:
rem START OF BATCH FILE
set d=y:\x86Dbg
if NOT %1.==. set d=%1
del %d%\*.pch
if exist %d%\vcp0.idb del %d%\vcp0.idb
if exist y:\ns\cmd\winfe\mkfiles32\x86Dbg\vcp0.idb del
y:\ns\cmd\winfe\mkfiles32\x86Dbg\vcp0.idb
if exist y:\x86Dbg\vcp0.idb del y:\x86Dbg\vcp0.idb
if %1.==. del y:\ns\cmd\winfe\mkfiles32\x86Dbg\*.pch
set d=
rem END OF BATCH FILE
This assumes my tree is on disk Y:, or you feed the object file directory
as the first param.
You often have to delete the .OBJ file for the source file being compiled
when it crashed.
Richard Birkby wrote:
> I've got the following internal compiler error when building the full
> tree. Is there a workaround out there?
>
> Thanks
> Richard
>
> cl -FoWIN954.0_OPT.OBJ/priotest.o -c -O2 -W3 -nologo -GF -Gy -MD
> -DFORCE_PR_LOG
> -DXP_PC -UDEBUG -U_DEBUG -DNDEBUG -DWIN32 -DWIN95
> -D_PR_GLOBAL_THREADS_ONLY -D_X
> 86_ -I../../../dist/WIN954.0_OPT.OBJ/include/obsolete
> -I../../../dist/WIN954.0_O
> PT.OBJ/include/private -I../../../dist/WIN954.0_OPT.OBJ/include
> priotest.c
> priotest.c
> priotest.c(68) : fatal error C1001: INTERNAL COMPILER ERROR
> (compiler file 'E:\utc\src\\P2\main.c', line 379)
> Please choose the Technical Support command on the Visual C++
> Help menu, or open the Technical Support help file for more
> information
>
> My environment is:
> WinNT 4 (sp3)
> VC5 (no service packs)
> 32Mb RAM
> PII 233
> WinNT and VC installed on F drive, Netscape source on E drive.
This mailing list archive is a service of Copilotco.