Boost logo

Boost Users :

Subject: Re: [Boost-users] [Accumulator] Build error in using BOOST::accumulator on WXP VC8
From: dhruva (dhruva_at_[hidden])
Date: 2009-02-04 21:04:26


Hello, Thank you for the confirmation that it is not related to accumulator. I was intrigued because the GNU/Linux build went fine and I got stuck in the windows build. I explored further and found the offending statement in net-snmp-config.h #ifndef HAVE_INDEX #ifdef HAVE_STRCHR # define index(a,b) strchr(a,b) # define rindex(a,b) strrchr(a,b) #endif #endif I now need to find if it is hand modified or problem in the net-snmp configure that is adding this problem. Thanks again for helping me out. -dhruva -- Contents reflect my personal views only! ----- Original Message ---- > From: Eric Niebler <eric_at_[hidden]> > To: boost-users_at_[hidden] > Sent: Wednesday, 4 February, 2009 9:29:16 PM > Subject: Re: [Boost-users] [Accumulator] Build error in using BOOST::accumulator on WXP VC8 > > dhruva wrote: > > Hello, > > I am using BOOST::accumulator from 1.37. I get the following warning in the > build on WXP using VC8 (MSVC 2005). I am exploring to find out where the problem > could be, posting to find is someone has experienced this problem. Since our > build treats warnings as errors, I am stuck. > > > > ...include\boost/fusion/container/vector/detail/deref_impl.hpp(46) : warning > C4003: not enough actual parameters for macro 'index' > > This doesn't sound like a problem with Boost.Accumulators. You'll need to figure > out what header on your platform is #define'ing a macro named "index". I don't > have access to this platform so I can't help you, but maybe someone else here > does and can. > > -- Eric Niebler > BoostPro Computing > http://www.boostpro.com > _______________________________________________ > Boost-users mailing list > Boost-users_at_[hidden] > http://lists.boost.org/mailman/listinfo.cgi/boost-users Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/


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