Hi Randy,
cl.exe -c -W3 %CFLAGS% -I%HB_INC_INSTALL% -DWIN32_LEAN_AND_MEAN -
D_MSC_VER=1010 -Tp %1.C
-DWIN32_LEAN_AND_MEAN is not necessary for .c files generated
by Harbour compiler, as we don't include any Windows headers from
them (unless you happen to use inline C).
-D_MSC_VER is dangerous
This was done years ago when I setup my Harbour environment - I
_think_ John told me to do it but I'm not 100% sure.
At 12:52 PM 8/20/2008, you wrote:
Randy,
-D_MSC_VER=1010
Why are you doing this? This is controlled by the C compiler, and
over-riding it could be a problem.
Paul
Hi all
Randy,
-D_MSC_VER=1010
Why are you doing this? This is controlled by the C compiler, and
over-riding it could be a problem.
Paul
Hi all,
I have been using the following C compiler switches with MSVC v6 when
compiling C source generated by the Harbour compiler:
cl.exe -c -W3 %CFLAGS% -
Hi all,
I have been using the following C compiler switches with MSVC v6 when
compiling C source generated by the Harbour compiler:
cl.exe -c -W3 %CFLAGS% -I%HB_INC_INSTALL% -DWIN32_LEAN_AND_MEAN
-D_MSC_VER=1010 -Tp %1.C
Are these still valid/correct when using VS 2005 (v8)?
TIA.
Regards,