From 2fb5f1d0c3d3f4604ef6b2265631810f7ba0d0cc Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Wed, 16 Nov 2016 17:36:54 +0100 Subject: [PATCH] added message about recursion limits --- docs/faq.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/faq.rst b/docs/faq.rst index cf7a650b7..7f9bd35b4 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -153,6 +153,15 @@ will: definition is changed, only a subset of the binding code will generally need to be recompiled. +"recursive template instantiation exceeded maximum depth of 256" +================================================================ + +If you receive an error about excessive recursive template evaluation, try +specifying a larger value, e.g. ``-ftemplate-depth=1024`` on GCC/Clang. The +culprit is generally the generation of function signatures at compile time +using C++14 template metaprogramming. + + How can I create smaller binaries? ==================================