From: Tord H. <th...@ha...> - 2001-03-05 12:03:50
|
Hello Dimitry, > also setup_dirs.ksh creates MS_obj directories, but not BC_obj. I had to fix setup_dirs.ksh, to create the bc_obj directories. > > This cames from a define in the firebird-source, which clashes with > > a typedef in the win-sdk-includes. The solution for this is to put > > -DWINDOWS_LEAN_AND_MEAN to the include.mak-cflags line. > > Does BCC support this? I've read help for command line options and have not > seen anything like this. Actually I mad a typo. The switch is "-DWIN32_LEAN_AND_MEAN" and its nothing more than a #define on the command line. #define WIN32_LEAN_AND_MEAN disables including the OLE-stuff and solves the issue with ole*.h But there are many compile errors left. The borland compiler wont convert int/long to pointer without a cast. And the line "CONST TEXT CONST *" caused an error too, while the other compilers (msvc, gcc) only warns about the senseless use of two const. Tord |