Warning fix in msvcrt_test

Vincent Béron vberon at mecano.gme.usherb.ca
Tue Dec 10 10:28:04 CST 2002


Another thing noticed while compiling the tests on MSVC...
In the msvcrt_test project, the link finishes with this warning:

LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other 
libs; use /NODEFAULTLIB:library

It's pretty easy to fix it manually (and the warning doesn't seem to 
cause harm), but it would be nice of Patrik to incorporate what this 
patch does (the project's file is a generated file, so the patch cannot 
be directly applied to CVS).

Vincent
-------------- next part --------------
--- wine/dlls/msvcrt/tests/msvcrt_test.dsp	2002-12-10 09:33:46.000000000 -0500
+++ wine/dlls/msvcrt/tests/msvcrt_test.dsp	2002-12-10 11:06:21.000000000 -0500
@@ -38,6 +38,7 @@
 # PROP Use_Debug_Libraries 1
 # PROP Output_Dir "Output\Win32_MSVC_Headers"
 # PROP Intermediate_Dir "Output\Win32_MSVC_Headers"
+# PROP Ignore_Export_Lib 0
 # PROP Target_Dir ""
 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ  /c
 # ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I ..\..\..\Output\\Win32_MSVC_Headers /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "_MSVCRT_TEST_" /D "__WINE_USE_MSVCRT" /D __WINETEST_OUTPUT_DIR=\"Output\\Win32_MSVC_Headers\" /D "__i386__" /D "_X86_" /D inline=__inline /FR /FD /GZ /c
@@ -48,7 +48,7 @@
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib  /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 /nologo msvcrt.lib /subsystem:console /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 msvcrt.lib /nologo /subsystem:console /debug /machine:I386 /nodefaultlib:"libcmtd.lib" /pdbtype:sept
 
 !ELSEIF  "$(CFG)" == "msvcrt_test - Win32 Wine Headers"
 
@@ -61,6 +62,7 @@
 # PROP Use_Debug_Libraries 1
 # PROP Output_Dir "Output\Win32_Wine_Headers"
 # PROP Intermediate_Dir "Output\Win32_Wine_Headers"
+# PROP Ignore_Export_Lib 0
 # PROP Target_Dir ""
 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ  /c
 # ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I ..\..\..\Output\\Win32_Wine_Headers /I ..\..\..\include /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "_MSVCRT_TEST_" /D "__WINE_USE_MSVCRT" /D __WINETEST_OUTPUT_DIR=\"Output\\Win32_Wine_Headers\" /D "__i386__" /D "_X86_" /D inline=__inline /FR /FD /GZ /c
@@ -71,7 +71,7 @@
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib  /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 /nologo msvcrt.lib /subsystem:console /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 msvcrt.lib /nologo /subsystem:console /debug /machine:I386 /nodefaultlib:"libcmtd.lib" /pdbtype:sept
 
 !ENDIF 
 


More information about the wine-devel mailing list