Changes between Version 5 and Version 6 of WritingCompliantLibraries


Ignore:
Timestamp:
2013-06-18T22:46:17Z (12 years ago)
Author:
Adrian Pop
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WritingCompliantLibraries

    v5 v6  
    5656=== Old standards ===
    5757Use `omc +std=2.x` or add `uses(Modelica(version="2.2.2"))` to the package. This might make it work without further conversion. You are recommended to convert the library to MSL 3.2.1 and ModelicaSpec 3.2r2 or above since in particular the standard library is now conforming to the specification.
     58
     59=== Large Integer values ===
     60If you have large Integer values (on 32 bit OpenModelica support just 31 bit integers) you should change them to Real.
     61Example:
     62{{{
     63parameter SI.AbsolutePressure P_constant=10000000;
     64}}}
     65should be:
     66{{{
     67parameter SI.AbsolutePressure P_constant=10000000.0;
     68}}}
     69If you don't do this the compiler will do it for you but it will generate a warning.