[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nel] Linux: now little pb with STLport
From: |
Vincent Caron |
Subject: |
Re: [Nel] Linux: now little pb with STLport |
Date: |
Thu, 25 Oct 2001 00:13:46 +0200 |
Cedric Valignat wrote:
>
> There is a problem with the libxml 2 macro for autoconf so the test
> program fail (at least on Debian :-) to overide this test you have to
> run the configure script with the '--disable-xmltest' option.
Thanx, it works. Now I have a pb with both STLport 4.5 (release) and
STLport-0824 (beta) :
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src -I/usr/include/freetype2
-I/home/zerodeux/src/nevrax/STLport/stlport -g -Wno-multichar -D_REENTRANT
-I/usr/X11R6/include
-Wp,-MD,.deps/skeleton_weight.pp -c skeleton_weight.cpp -fPIC -DPIC -o
.libs/skeleton_weight.lo
/home/zerodeux/src/nevrax/STLport/stlport/stl/type_traits.h: In function `struct
_STL::_OKToMemCpy<char,char> _STL::_IsOKToMemCpy<char, char>(char *, char *)':
/home/zerodeux/src/nevrax/STLport/stlport/stl/type_traits.h:343: template
instantiation depth
exceeds maximum of 17
/home/zerodeux/src/nevrax/STLport/stlport/stl/type_traits.h:343: (use
-ftemplate-depth-NN to
increase the maximum)
/home/zerodeux/src/nevrax/STLport/stlport/stl/type_traits.h:343: instantiating
`_STL::_OKToMemCpy<char,char>'
/home/zerodeux/src/nevrax/STLport/stlport/stl/type_traits.h:343: instantiated
from
`_STL::_IsOKToMemCpy<char, char>(char *, char *)'
There's a good advice in this error, so I ran :
CXXFLAGS=-ftemplate-depth-24 ./configure ; make
And it did the job. Maybe this should be set as a default ? BTW, this feature
is not documented in 'man g++'. I'm using g++ 2.95.4.