Ok. FWIW, these computers seem to be a bit behind on maintanence, I have a few other codes that are failing on them that work fine everywhere else. So, no real rush to get this fix -- I'll just run an older checkout for a while.
Thanks, Dave On Thu, Jun 17, 2010 at 12:22 PM, Noel O'Boyle <baoille...@gmail.com> wrote: > I've looked into it properly, and can't figure out why it's failing > with g++ (works with MSVC) even after #include functional and > algorithms and putting std:: everywhere. > > I'll rewrite it this evening to avoid using the STL; in the meanwhile, > you can just comment out the body of this function to compile it. This > won't introduce any additional errors. > > - Noel > > On 17 June 2010 17:02, David Lonie <lonieda...@gmail.com> wrote: >> Hi Noel, >> >> I added it, but it still fails to compile, same error. Odd thing is >> that the current trunk compiles fine on my laptop. Any other ideas? >> >> Dave >> >> On Thu, Jun 17, 2010 at 11:35 AM, Noel O'Boyle <baoille...@gmail.com> wrote: >>> 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