modelica-3rdparty / msgpack-modelica

A MessagePack implementation as a Modelica package
BSD 2-Clause "Simplified" License
6 stars 4 forks source link

Compilation on MSVC #3

Closed tbeu closed 10 years ago

tbeu commented 10 years ago

To make it compile with MSVC I needed to compile as C++ (since msgpack is also compiled as C++ due to type bool in msgpack\zone.h). This requires excplicit type casts of void*.

sjoelund commented 10 years ago

These changes are not enough to compile with clang++ -x c++ -std c++98 -Werror. I will fix these issues and the problems with inlining in a future commit (later today I guess).

tbeu commented 10 years ago

OK, thanks. This sounds good!