------- Comment #8 from vmpn at hitechman dot com  2007-07-01 19:38 -------
Created an attachment (id=13815)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13815&action=view)
Test case fixed using forward declarations

Thank you for your help. I think I now have a better understanding of what is
going on. As far as GCC is concerned the overriding visit_each template
function dealing with MyData does not exist when it makes its decision
regarding visit_each(v, data, 0); call.

I am attaching fixed (working with 4.1) text case that is more representative
of the boost structure (to the best of my understanding). Also, I will be using
it as a base for a follow up issue I ran into.

I am also including couple of relevant links for better context to this issue
for anyone else who might stumble on this entry:

Two Phase looks ups and GCC:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11828
http://groups.google.com/group/comp.std.c++/msg/6a53b35efe39fee3
http://gcc.gnu.org/gcc-3.4/changes.html
http://gcc.gnu.org/onlinedocs/gcc/Name-lookup.html
http://developer.apple.com/releasenotes/DeveloperTools/RN-GCC4/index.html

IMHO, the changes are mentioned as early as gcc 3.4 but they did not seem to
fully kick in until gcc 4.x.

Related boost email and change that I found:

http://lists.boost.org/Archives/boost/2006/04/103989.php
http://boost.cvs.sourceforge.net/boost/boost/boost/bind.hpp?r1=1.55&r2=1.56

Regards,

Vladimir


-- 

vmpn at hitechman dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13808|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31164

Reply via email to