Boost logo

Boost Users :

From: Peter Barker (newbarker_at_[hidden])
Date: 2008-08-30 06:23:23


--- On Fri, 29/8/08, mbrodeur65 <martin.brodeur_at_[hidden]> wrote:

> From: mbrodeur65 <martin.brodeur_at_[hidden]>
> Subject: Re: [Boost-users] 1.34.1: boost bind issue with function template
> To: boost-users_at_[hidden]
> Date: Friday, 29 August, 2008, 8:01 PM
> Yes, you are right, there are only warnings. However,
> I'm a bit scared of
> possible side effects. I usually prefer to eliminate them
> by adopting the
> proper syntax, which obviously, I don't have.
>
> thanks.
> Martin
>
>
>
> Peter Dimov-5 wrote:
> >
> > mbrodeur65:
> >>
> >> Hi,
> >>
> >> I'm having problem compiling this piece of
> code in VC++ 7.1. I don't know
> >> if
> >> it is a bug in this environment but it compiles
> properly under gcc 3.4.4.
> >>
> >> thanks for any help !!!
> >
> > ...
> >
> >> Here are the compiler errors:
> >>
> >> c:\Program
> Files\boost\boost_1_34_1\boost\visit_each.hpp(25)
> : warning
> >> C4675: 'void
> >>
> boost::_bi::visit_each<Visitor,void,boost::_mfi::mf1<R,T,A1>,boost::_bi::list2<boost::_bi::list_av_2<C
> >> *,A2>::B1,A2>>(V &,const
> boost::_bi::bind_t<R,F,L> &,int)' : resolved
> >> overload was found by argument-dependent lookup
> >
> > I see no errors here, just a harmless warning. Am I
> missing something?
> >
> > _______________________________________________
> > Boost-users mailing list
> > Boost-users_at_[hidden]
> >
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/1.34.1%3A-boost-bind-issue-with-function-template-tp19221694p19225673.html
> Sent from the Boost - Users mailing list archive at
> Nabble.com.
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

I use the same compiler and disabled the warning in the project properties. There's some more info here about it http://msdn.microsoft.com/en-us/library/aa984668(VS.71).aspx

I see the warning as more of a history lesson telling you that the previous Microsoft C++ compilers didn't implement Koenig lookup.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net