[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-windows
Subject: (msvc) avoid LNK1169 errors
From: Jarosław_Staniek <js () iidea ! pl>
Date: 2007-06-25 19:20:40
Message-ID: 46801588.2060706 () iidea ! pl
[Download RAW message or body]
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
_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic