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.

Best regards, Oliver.
diff --git a/main/sal/systools/win32/kill/makefile.mk 
b/main/sal/systools/win32/kill/makefile.mk
index 1b246b4..580e7bf 100644
--- a/main/sal/systools/win32/kill/makefile.mk
+++ b/main/sal/systools/win32/kill/makefile.mk
@@ -38,6 +38,10 @@ TARGETTYPE=CUI
 CDEFS=-D_WIN32_WINNT=0x0501
 .ENDIF
 
+.IF "$(USE_SYSTEM_STL)" != "YES" && "$(PRODUCT)" = ""
+CDEFS+=-D_DEBUG
+.ENDIF
+
 CFLAGS+= $(LFS_CFLAGS)
 CXXFLAGS+= $(LFS_CFLAGS)
 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to