2MB stack size for Visual C++
Yaron Keren
yaron.keren at gmail.com
Wed Oct 16 10:55:29 PDT 2013
Compiling under Visual C++ 2012 with the default stack size of 1MB, the
stack overflows at a depth of 216 template instantiations, well before the
256 default limit. This patch modifies the default MSVC stack size to 2MB.
Yaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131016/9af1f1b9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msvc-stacksize.diff
Type: application/octet-stream
Size: 654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131016/9af1f1b9/attachment.obj>
More information about the cfe-commits
mailing list