Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong /MD flags for debug binaries on Windows #36

Closed
anton-malakhov opened this issue Sep 19, 2018 · 0 comments
Closed

wrong /MD flags for debug binaries on Windows #36

anton-malakhov opened this issue Sep 19, 2018 · 0 comments
Assignees

Comments

@anton-malakhov
Copy link
Contributor

anton-malakhov commented Sep 19, 2018

The build log contains a lot of messages like:

cl /nologo /TP /EP ../../src/tbb/win64-tbb-export.def /MDd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_preview_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /FS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502    /D__TBB_BUILD=1 /W4   -MD -GL /D__TBB_CPF_BUILD=1 /I../../src /I../../src/rml/include /I../../include > tbb.def
c:\bld\tbb_1537331949229\work\include\tbb\internal/_tbb_windef.h(48) : Warning: Recommend using /MDd if compiling with TBB_USE_DEBUG!=0
cl : Command line warning D9025 : overriding '/MDd' with '/MD'

The problem is that anaconda's compiler sets -MD flags: https://github.com/AnacondaRecipes/aggregate/blob/cabb96a386f3642943823d6626787fe131584ab0/vs2015/activate.bat#L41-L42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant