[Dune-devel] Dune with Visusal Studio 15.4

Christoph GrĂ¼ninger foss at grueninger.de
Mon Nov 13 22:53:35 CET 2017


Hi!

With recent advances in Visual C++ support for recent version of the C++ standard, I was curious and gave it another try. I added the followig lines to config.h.cmake to teach Visual C++ some C++


#ifdef _MSC_VER
#define and &&
#define or ||
#define not !
#endif


Unfortenatly Dune embraced recent versions of C++ faster then the compiler. I wasn't able to compile dune-common, because I got an error C2833 ('operator decltype' is not a recognized operator or type) in rangeutilities.hh:242.


So, we'll have to wait a little bit longer to get Dune compiled by Visual C++.


Bye

Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20171113/934fee64/attachment.htm>


More information about the Dune-devel mailing list