This is a very very old problem, but only Harbour gives a
warning when redefining the same macro twice with same content,
I'll try to do something about it and I just now realized that
Harbour make uses a trick to relaunch itself even when making
a single target. I don't know the reason yet or whether it can
be eliminated. It would surely make life easier (and performance
better). If this doesn't succeed I'll do a different trick
to work this around.
Regardless of this fix, maybe Harbour PP could be modified to
not throw a warning when the redefinition is identical to the
original value, just like in C. Przemek, what's your opinion?
Brgds,
Viktor
On 2009.08.15., at 8:10, FRANČEK PRIJATELJ wrote:
cl.exe -I../../../../../contrib/hbssl -nologo -I. -I../../../../../
include -Gs -TP -W4 -wd4127 -Ot2b1 -EHs-c- -MT -Foutils.obj -
c ../../../utils.c
utils.c
../../../../../bin/win/msvc/harbour.exe ../../../cgi.prg -n1 -
I../../../../../contrib/hbssl -i../../../../../include -q0 -w3 -es2 -
kmo -l -gc0 -b -DHB_HAS_OPENSSL -DHB_HAS_OPENSSL
Warning W0001 Redefinition or duplicate definition of #define
HB_HAS_OPENSSL
No code generated.
mingw32-make[3]: *** [cgi.c] Error 1
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [hbtip.inst] Error 2
mingw32-make: *** [contrib.inst] Error 2
My platform
! MAKE: mingw32-make 3.81 clean install sh.exe
! HB_USER_PRGFLAGS: -b
! HB_INSTALL_PREFIX: C:\HRB\msvc_D_Tr
! HB_BIN_INSTALL: C:\HRB\msvc_D_Tr\bin
! HB_LIB_INSTALL: C:\HRB\msvc_D_Tr\lib
! HB_INC_INSTALL: C:\HRB\msvc_D_Tr\include
! HB_DOC_INSTALL: C:\HRB\msvc_D_Tr\doc
! HB_BUILD_MODE: cpp
! HB_HOST_ARCH: win HB_SHELL: nt
! HB_ARCHITECTURE: win
! HB_COMPILER: msvc
"! 'gtcrs' library skipped"
"! 'gtdos' library skipped"
"! 'gtos2' library skipped"
"! 'gtsln' library skipped"
"! 'gttrm' library skipped"
"! 'gtxwc' library skipped"
"! 'gtalleg' library skipped"
"! 'hbgd' library skipped"
"! 'rddads' library skipped"
Brgs
Franček
<francek_prijatelj.vcf>_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour