Hi,

On 10.06.2013 13:06, Regina Henschel wrote:
Hi Oliver,

Oliver-Rainer Wittmann schrieb:
Hi,

On 09.06.2013 16:27, Regina Henschel wrote:
Hi,

I know there is https://issues.apache.org/ooo/show_bug.cgi?id=122500 "
Impossible to build with Visual C++ 2008 Express Edition" but I'm no
sure, whether my problem is the same.

I use VC 2008 Express SP1. I get the error:

Compiling: sal/systools/win32/kill/creating pr/src/io/Makefile
kill.cxx
Compiling:
sal/rtl/source/C:/AOO_2013_06_08/trunk/main/solver/400/wntmsci12/inc/stl\config/stl_select_lib.h(26)


: fatal error C1189: #error :  "For static link with STLport library,
_DEBUG setting MUST be on when _STLP_DEBUG is on. (/MTd forces _DEBUG)"
dmake:  Error code 2, while making '../../../wntmsci12/obj/kill.obj'

I have neither --without-stlport nor --with-stlport in my configure.


Try the attached patch.

I'll try it.

In the meantime I had tried --without-stlport. But first try was hanging
totally and in second try I run into the break in extension..ole, that
Ariel has mentioned in the issue.


Yes, I have seen it and I have a patch attached.

There are more build breakers on non-pro with-stlport. Stay tuned for further patches - I am working on the verification of my fixes.


Best regards, Oliver.
diff --git a/main/extensions/source/ole/makefile.mk 
b/main/extensions/source/ole/makefile.mk
index 934c3dc..8fb0317 100644
--- a/main/extensions/source/ole/makefile.mk
+++ b/main/extensions/source/ole/makefile.mk
@@ -43,10 +43,6 @@ INCPRE+= $(foreach,i,$(ATL_INCLUDE) -I$(i))
 
 .IF "$(GUI)" == "WNT" && "$(DISABLE_ATL)"==""
 
-.IF "$(USE_STLP_DEBUG)"!=""
-CDEFS+=-D_DEBUG
-.ENDIF # "$(USE_STLP_DEBUG)"!=""
-
 SLOFILES= \
             $(SLO)$/servreg.obj                \
             $(SLO)$/servprov.obj       \
@@ -77,11 +73,7 @@ SHL1STDLIBS=\
 
 .IF "$(COM)"=="MSC"
 .IF "$(WINDOWS_VISTA_PSDK)"!="" || "$(CCNUMVER)"<="001399999999"
-.IF "$(USE_STLP_DEBUG)" != ""
-    SHL1STDLIBS+= $(ATL_LIB)$/atlsd.lib
-.ELSE
     SHL1STDLIBS+= $(ATL_LIB)$/atls.lib
-.ENDIF
 .ENDIF # "$(WINDOWS_VISTA_PSDK)"!="" || "$(CCNUMVER)"<="001399999999"
 .ENDIF # "$(COM)"=="MSC"
 
@@ -105,11 +97,7 @@ SHL2STDLIBS=\
 
 .IF "$(COM)"=="MSC"
 .IF "$(WINDOWS_VISTA_PSDK)"!="" || "$(CCNUMVER)"<="001399999999"
-.IF "$(USE_STLP_DEBUG)" != ""
-    SHL2STDLIBS+= $(ATL_LIB)$/atlsd.lib
-.ELSE
     SHL2STDLIBS+= $(ATL_LIB)$/atls.lib
-.ENDIF
 .ENDIF # "$(WINDOWS_VISTA_PSDK)"!="" || "$(CCNUMVER)"<="001399999999"
 .ENDIF # "$(COM)"=="MSC"
 
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to