Closed tbeu closed 10 years ago
I guess this should go into ModelicaUtilitites.h instead?
Not sure where to fix. Maybe MA people assume it is always inlcuded and linked as C header. But for ModelicaStandardTables.c I needed to to the same.
You should try to never do extern "C" before you include a header, because if that header includes C++ headers, extern "C" conflicts. I'll fix it in ModelicaUtilities.h. That seems safer anyway.
Then you can also fix it in ModelicaStandardTables.c. Thanks!
... and ModelicaMatIO.h.
https://trac.modelica.org/Modelica/changeset/7486 should fix it
I propose to add it also to the MSL 3.2.1 maintenance branch.
Done
Otherwise the MSVC linker complains with