CXX should be set to empty in global.mk. I'll commit this in a while.

Brgds,
Viktor

On 2009.09.02., at 9:40, FRANČEK PRIJATELJ wrote:

Hi

Maybe I am impolite to write about same problem third time.
Sorry in advance.

When building Harbour with msvc, .cpp files (from hbqt) are compiled with g++.

Problem is CXX in rules.mk , which has default value g++
In rules.mk , line 56:

# The rule to compile a C++ source file.
ifeq ($(CPP_RULE),)
  ifeq ($(CXX),)
     CXX := $(CC)
  endif
CPP_RULE = $(CXX) $(CC_FLAGS) $(HB_USER_CFLAGS) $(CC_OUT)$(<F:.cpp= $(OBJ_EXT)) $(CC_IN) $<
endif

Try command
mingw32-make --print-data-base > 0.txt

In o.txt line 223
223 # default
224 CXX = g++
225 # default
226 COFLAGS =

Solution:
Change CXX to some other name


BRGS
Franček Prijatelj

<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

Reply via email to