added message about recursion limits

This commit is contained in:
Wenzel Jakob 2016-11-16 17:36:54 +01:00
parent 90d27805b9
commit 2fb5f1d0c3

View File

@ -153,6 +153,15 @@ will:
definition is changed, only a subset of the binding code will generally need definition is changed, only a subset of the binding code will generally need
to be recompiled. 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? How can I create smaller binaries?
================================== ==================================