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

<<attachment: francek_prijatelj.vcf>>

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to