(msvc) avoid LNK1169 errors
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Tue Jun 26 09:14:11 CEST 2007
Jarosław Staniek schrieb:
> 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]
>
Wouldn't it be better to fix the template issue instead just ignoring
some warnings?
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20070626/99c31840/attachment.pgp
More information about the Kde-windows
mailing list