https://bugs.llvm.org/show_bug.cgi?id=48788
Reid Kleckner <r...@google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |r...@google.com
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Reid Kleckner <r...@google.com> ---
Sorry, this is a limitation of the MSVC CRT. MSVC release and debug builds are
ABI incompatible and cannot be linked together.
You can, however, work around the issue by building your code in debug mode (no
optimizations, debug info enabled) without using the debug C runtime. Go into
your project settings and switch from /MDd to /MD. This will unset the _DEBUG
macro, switch the MSVC C runtime, and set _ITERATOR_DEBUG_LEVEL to 0.
So long as you do not use the _DEBUG macro in your code and you do not use MSVC
CRT debugging features, this should approximate the debug build configuration
fairly well.
The other workaround is to use LLVM debug libraries, but I suppose you have
already considered this.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs