[gecode-users] ~Event nothrow issue
Christian Schulte
cschulte at kth.se
Tue Aug 18 09:58:10 CEST 2015
Hi Filip,
Thanks for the info. I forgot to check in the fix, now it is in the trunk.
Best
Christian
--
Christian Schulte, www.gecode.org/~schulte
Professor of Computer Science, KTH, cschulte at kth.se
Expert Researcher, SICS, cschulte at sics.se
-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Filip Konvicka
Sent: Monday, August 17, 2015 6:22 PM
To: users at gecode.org
Subject: Re: [gecode-users] ~Event nothrow issue
Hi Christian,
Cool, thanks. Out of curiosity I looked in the SVN but I don't see the
change in there yet, but maybe my repo browser is just too lazy today :)
Another useful link for those interested - I was trying to build a x64 debug
version with PDBs using the x64 command prompt + cygwin (with
--enable-debug), but that failed due to a bug in MSVC leading to
LINK : fatal error LNK1101: incorrect MSPDB140.DLL version; recheck
installation of this product
The following link helped:
https://connect.microsoft.com/VisualStudio/feedback/details/1651822/incorrec
t-mspdb140-dll-version-picked-in-x86-x64-cross-tools-environment
Cheers,
Filip
> Hi Filip,
>
> Thanks! I also recently installed MSVC 2015 and hence have already
> fixed the issue in the trunk.
>
> Cheers
> Christian
>
> --
> Christian Schulte, www.gecode.org/~schulte Professor of Computer
> Science, KTH, cschulte at kth.se Expert Researcher, SICS,
> cschulte at sics.se
>
>
> -----Original Message-----
> From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On
> Behalf Of Filip Konvicka
> Sent: Monday, August 17, 2015 2:49 PM
> To: users at gecode.org
> Subject: [gecode-users] ~Event nothrow issue
>
> Hi,
>
> I've tried compiling Gecode 4.4.0 with MSVC 2015 and it produces
> warnings about ~Event being (implicitly) nothrow but throwing
> exceptions at the same time.
>
> I was thinking whether or not it is worth fixing in Gecode code, and
> found this nice explanation:
>
> http://denisbider.blogspot.cz/2015/07/exceptions-in-destructors-and-vi
> sual.h
> tml
>
> I believe either noexcept(false) (portable but probably C++11 only
> syntax) or throw(...) might help - possibly replacing "..." with
> something reasonable.
>
> Cheers,
> Filip
>
>
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users
>
_______________________________________________
Gecode users mailing list
users at gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users
More information about the users
mailing list