﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
268	A random fatal error makes to crash compilation of tol.dll	César Pérez Álvarez	Víctor de Buen Remiro	"Usually when I compile tol.dll happens a random fatal error like this:

-----------------------------------------------------------------------------------------------
...
tsrgra.cpp
tsrgrai.cpp
tsrgrav.cpp
set.cpp
setgra.cpp
txtgra.cpp
dnf.cpp
C:\users\cperez\bsd\tol\btol\timeset_type\dnf.cpp(0) : fatal error C1033: cannot 
open program database 'c:\users\cperez\bsd\tol\win\release\tmp\vc60.idb'
mnf.cpp
tms.cpp
tmsgra.cpp
....
-----------------------------------------------------------------------------------------------

It makes to crash the compilation of tol.dll, but sometimes happens in other library 
and not necessary in the same tmp file.

If I try to compile one time more with no heavy applications running, it compiles 
perfectly.


This is the make.bat that I use:


-----------------------------------------------------------------------------------------------
ECHO PARAMETERS
set pathMSVS=""%ProgramFiles%\Microsoft Visual Studio\Common\MSDev98\Bin""
set pathDevelolop=C:\users\cperez\bsd

set pathCurrent=""%CD%""

rem /////////////////////////////////////////////////////////////////////
rem -- Where TCL libs are kept:
rem set TCL_LIB=c:\tcltk\lib
rem set TCL_INCLUDE=c:\tcltk\include
rem /////////////////////////////////////////////////////////////////////

rem /////////////////////////////////////////////////////////////////////
rem --Where GSL libs are kept:
rem set GSL_LIB=c:\gsl14\lib
rem set GSL_INC=c:\gsl14
rem /////////////////////////////////////////////////////////////////////

ECHO COMPILACION
cd %pathCurrent%
cd make
call maketoldll.bat     %pathMSVS% %pathDevelolop% %pathCurrent%
call maketolexe.bat     %pathMSVS% %pathDevelolop% %pathCurrent%
call maketoltcldll.bat  %pathMSVS% %pathDevelolop% %pathCurrent%
call maketoldbdll.bat   %pathMSVS% %pathDevelolop% %pathCurrent%
call maketolbaseexe.bat %pathMSVS% %pathDevelolop% %pathCurrent%

ECHO MOVE
cd %pathCurrent%
cd move
call movetoldll.bat     %pathDevelolop%  %pathDevelolop%\tolbase\win\Release
call movetolexe.bat     %pathDevelolop%  %pathDevelolop%\tolbase\win\Release
call movetoltcldll.bat  %pathDevelolop%  %pathDevelolop%\tolbase\lib\toltcl
call movetoldbdll.bat   %pathDevelolop%  %pathDevelolop%\tolbase\win\Release


ECHO END
cd %pathCurrent%
-----------------------------------------------------------------------------------------------

and this is the maketoldll.bat to compile tol.dll that I use:

------------------------------------------------------------------------------------------------

rem %1 -> pathMSVS
rem %2 -> pathDevelolop
rem %3 -> pathCurrent

cd %1
msdev.com %2\tol\win\tollib.dsp /MAKE ""tollib - Win32 Release"" /REBUILD /OUT %
3\toldll.log 
goto errortoldll_%errorlevel%
:errortoldll_0
rem  call %3\move\movetoldll.bat %2 %2\tolbase\win\Release
  goto salida
:errortoldll_3
echo Error en la compilación de tol.dll > %3\errortoldll.log""
:salida
cd %3\make

-----------------------------------------------------------------------------------------------"	defect	closed	high		Various	head	major	fixed		
