That's me. I must have to #include <algorithm>. Can you stick this at
the top of perception.cpp and see if it works? If so, and you don't
have commit access, I'll check it in.

- Noel

On 17 June 2010 16:31, David Lonie <lonieda...@gmail.com> wrote:
> There seems to be a problem with a recent commit to trunk:
>
> openbabel-trunk/src/stereo/perception.cpp: In function ‘void
> OpenBabel::StereoRefToImplicit(OpenBabel::OBMol&, long unsigned int)’:
> openbabel-trunk/src/stereo/perception.cpp:1851: error: no matching
> function for call to ‘replace_if(__gnu_cxx::__normal_iterator<long
> unsigned int*, std::vector<long unsigned int, std::allocator<long
> unsigned int> > >, __gnu_cxx::__normal_iterator<long unsigned int*,
> std::vector<long unsigned int, std::allocator<long unsigned int> > >,
> const std::binder1st<std::equal_to<long unsigned int> >&,
> OpenBabel::OBStereo::<anonymous enum>)’
> openbabel-trunk/src/stereo/perception.cpp:1858: error: no matching
> function for call to ‘replace_if(__gnu_cxx::__normal_iterator<long
> unsigned int*, std::vector<long unsigned int, std::allocator<long
> unsigned int> > >, __gnu_cxx::__normal_iterator<long unsigned int*,
> std::vector<long unsigned int, std::allocator<long unsigned int> > >,
> const std::binder1st<std::equal_to<long unsigned int> >&,
> OpenBabel::OBStereo::<anonymous enum>)’
> make[2]: *** [src/CMakeFiles/openbabel.dir/stereo/perception.o] Error 1
>
> On linux with gcc 4.1.2
>
> Cheers,
> Dave
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> OpenBabel-Devel mailing list
> OpenBabel-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-devel
>

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to