default to a template depth limit of 512

This commit is contained in:
Steven Siloti 2017-04-22 17:19:34 -07:00 committed by Arvid Norberg
parent b863306c8b
commit 9519fd4441
2 changed files with 2 additions and 1 deletions

View File

@ -766,6 +766,7 @@ lib torrent
: # default build
<threading>multi
<c++-template-depth>512
: # usage requirements
$(usage-requirements)

View File

@ -102,7 +102,7 @@ AX_PTHREAD()
LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
CC="$PTHREAD_CC"
CXXFLAGS="$CXXFLAGS -ftemplate-depth=128 -Wno-format-zero-length"
CXXFLAGS="$CXXFLAGS -ftemplate-depth=512 -Wno-format-zero-length"
AS_ECHO "Checking for visibility support:"
AC_CACHE_CHECK([for __attribute__((visibility("hidden")))],