|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-05-01 14:50:41
----- Original Message -----
From: "Tim Hawes" <Tim.Hawes_at_[hidden]>
> > >
c++ -I/usr/local/gcc/gcc-3.0.4/include/stlport -I/usr/local/boost -c
> > > test.cpp
> > > In file included from /usr/local/boost/boost/regex.hpp:1541,
> > > from test.cpp:1:
> > > /usr/local/boost/boost/regex/detail/instances.hpp:116: template-id
> > > `compile_map<>' for `void boost::reg_expression<wchar_t,
> > > boost::regex_traits<wchar_t>, _STL::allocator<wchar_t>
> > > >::compile_map(boost::re_detail::re_syntax_base*, unsigned
int*,
> > > unsigned
> > > int*, unsigned int, boost::re_detail::re_syntax_base*) const'
does
> > > not match any template declaration
> >
> >
> > Can't help you there; regex isn't my department. John?
> > (looks like a possible missing "template" keyword after "::")
> >
>
> Changing _STL:: to std::, however, does not solve the problem above in
> compiling against the regex libs from CVS. How do we get John's
> attention so he can help?
I've cc'd him directly; I hope that will work.
> > > Here is where it starts:
> > > jam -sBOOST_ROOT=. -sTOOLS=gcc-stlport -d+2
> > > g++ -c -Wall -ftemplate-depth-100 -DBOOST_REGEX_NO_LIB=1
> > > -DBOOST_REGEX_STATIC_LINK=1 -D_STLP_DEBUG -g -O0 -fno-inline
> > > -D_STLP_USE_DYNAMIC_LIB -I"libs/regex/build" -I"." -isystem
> > > "/usr/local/gcc/gcc-3.0.4/include/stlport" -isystem
> > > "c:/downloads/STLPort-0601/stlport" -o
> >
> >
> > Hmm, are you sure you really have the latest CVS state? Where is
> > "c:/downlaods/STLPort-0601/stlport" coming from? What have you got
> > STLPORT_ROOT set to?
> >
>
> OK, the 'template with C linkage' errors is what I was getting w/ 1.27
> boost. I was not getting these errors before, I added the gnu linker,
> and now I get these errors whether or not I use the gnu linker.Sorry
for
> the confusion.
I think it would be a good thing to try to answer my other questions
above. Your compilation command-line is still a little mysterious to me.
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk