Yeah, there are a couple of workarounds, but given that they have to be
done for every class (= a lot of work), I think we're better off just
waiting until they fix the compiler bug.

FWIW: VS15 Update 2 works fine.

-greg


On Wed, Jan 4, 2017 at 11:30 AM, Brian Kelley <fustiga...@gmail.com> wrote:

> Apparently there is a work around:
>
> I ran into this bug as well. I ended up forward declaring the template
> function for the classes it affected (there weren't many in our code).
>
> e.g. for a class named BisectLine:
>
> namespace boost
> {
> template<> const volatile BisectLine* get_pointer(const volatile
> BisectLine* p) { return p; }
> }
>
> Ug.  Perhaps this can be automated...
>
>
>
>
> ----
> Brian Kelley
>
> On Jan 4, 2017, at 2:53 AM, Greg Landrum <greg.land...@gmail.com> wrote:
>
> I'm not sure how many of you this will be relevant to, but it's important
> to know that Update 3 of Microsoft's Visual Studio 2015 is not able to
> build the RDKit Python wrappers. This is due to a compiler bug that ends up
> affecting boost::python. The bug report for that is here:
> https://connect.microsoft.com/VisualStudio/Feedback/Details/2852624
> It has been fixed, so if there ever is a VS2015 Update 4 I would expect it
> to work, but in the meantime VS2015 Update 2 should still work (I am going
> to test that today), but it's not trivial to install an older version.
> Instructions are here:
> https://msdn.microsoft.com/en-us/library/mt653628.aspx
>
> -greg
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to