Re: Linking error when changing > to >>

Larry Evans <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 11/17/2016 10:59 AM, Exagon wrote:
> I will use this in my project, thank you very much,
> Is there a chance this will be fixed in future boost versions, because I
> have this linker error also in some other cases, independently of the
> operator which I use.
> Doing the workaround suggested by you everytime, would be a pain.
>
> Greeting Exagon

I'm trying to understand why the error occurs.  I did
look at Seth's explanation here:


http://boost.2283326.n4.nabble.com/Linking-error-when-changing-gt-to-gt-gt-tc4689820.html#a4689860

However, I used gdb to put a breakpoint here:

 
https://github.com/cppljevans/linker_error_example/blob/master/types.cpp#L90


and then examined up the call stack.  Oddly, I found
in the parse_sequence function at detail/sequence.hpp:294,
that r_attr has a type that looks like a
std::string::const_iterator, which has got to be wrong.

I'm still investigating how that could be and I'll let you know.

-regards,
Larry




------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.