zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2874) Windows Debug builds don't link with `/MTd`
Date Fri, 18 Aug 2017 05:36:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16131746#comment-16131746
] 

Hudson commented on ZOOKEEPER-2874:
-----------------------------------

SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #3503 (See [https://builds.apache.org/job/ZooKeeper-trunk/3503/])
ZOOKEEPER-2874: Windows Debug builds don't link with `/MTd` (hanm: rev ab182d4561f1c6725af0e89e0b76d92186732195)
* (edit) src/c/CMakeLists.txt


> Windows Debug builds don't link with `/MTd`
> -------------------------------------------
>
>                 Key: ZOOKEEPER-2874
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2874
>             Project: ZooKeeper
>          Issue Type: Bug
>         Environment: Windows 10 using CMake
>            Reporter: Andrew Schwartzmeyer
>            Assignee: Andrew Schwartzmeyer
>             Fix For: 3.5.4, 3.6.0, 3.4.11
>
>
> While not apparent when building ZooKeeper stand-alone, further testing when linking
with Mesos revealed it was ZooKeeper that was causing the warning:
> {noformat}
> LIBCMTD.lib(initializers.obj) : warning LNK4098: defaultlib 'libcmt.lib' conflicts with
use of other libs; use /NODEFAULTLIB:library [C:\Users\andschwa\src\mesos\build\src\slave\mesos-agent.vcxproj]
> {noformat}
> As Mesos is linking with {{/MTd}} in Debug configuration (which is the most common practice).
> Once I found the source of the warning, the fix is trivial and I am posting a patch.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message