(msvc) avoid LNK1169 errors
Jarosław Staniek
js at iidea.pl
Mon Jun 25 21:20:40 CEST 2007
Hello,
Could it be sane to globally add the following setting?
if(MSVC)
# avoid LNK1169 errors
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /FORCE:MULTIPLE")
endif(MSVC)
This removed linker error when operators with templates are defined many times
in various libs. [1]
[1] http://msdn2.microsoft.com/en-us/library/xttf5w7w(VS.80).aspx
--
regards / pozdrawiam, Jaroslaw Staniek
Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
Kexi & KOffice: http://www.kexi.pl/en, http://www.koffice.org
KDE3 & KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org
More information about the Kde-windows
mailing list