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, [email protected]
Expert Researcher, SICS, [email protected]


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Filip Konvicka
Sent: Monday, August 17, 2015 2:49 PM
To: [email protected]
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-visual.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
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users


_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to