Subj : Re: Bug in CW3230.DLL To : borland.public.cpp.borlandcpp From : Jogy Date : Thu Nov 20 2003 03:26 pm Vicente Flich wrote: > To fix the bug in heap manager, I have try to rebuild CW3230.DLL as > explained in > > http://www.sirma.bg/Jogy/bcrtlfix.html > > but when I built it with BUILD WIN32, I have the error that cannot > open the file "cstddef" from the file stddefs.h in line 50: > > > # include "stdcomp.h" /* Set compiler-specific flags */ > > STARTWRAP > #ifndef RWSTD_NO_NEW_HEADER > #include <<<<<<<====line 50!!!!! > #else > #include /* Looking for size_t */ > #endif > ENDWRAP > > I serach for the file "cstddef" and do not found it in my system :-( > > Anyone can help me? Hello, I think the problem is that by some reason RWSTD_NO_NEW_HEADER does not get defined properly. Check yout system for different versions of the file stdcomp.h, it is there where it should be defined. The following #ifdef should be entered: bc5\include\stdcomp.h .... #elif __TURBOC__ <= 0x520 /* * Borland 5.0: * implements namespaces, bool and mutable */ .... # define RWSTD_NO_NEW_HEADER 1 .... so you can test it by placing in stddefs.h the lines #if __TURBOC__ > 0x520 #error Test #endif -- Jogy http://www.jogy.net/ jogy@sirma.bg .