Skip to content

Commit 1bd2e37

Browse files
committed
Fix OSX compilation
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@16375 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent f199620 commit 1bd2e37

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

Compiler/FrontEnd/ModelicaBuiltin.mo

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1981,9 +1981,8 @@ end importFMU;
19811981
/* Under Development */
19821982

19831983
function simulate "simulates a modelica model by generating c code, build it and run the simulation executable.
1984-
The only required argument is the className, while all others have some efault values.
1985-
simulate(className, [startTime], [stopTime], [numberOfIntervals], [stepSize], [tolerance], [method], [fileNamePrefix],
1986-
[storeInTemp], [noClean], [options], [outputFormat], [variableFilter], [measureTime], [cflags], [simflags])
1984+
The only required argument is the className, while all others have some default values.
1985+
simulate(className, [startTime], [stopTime], [numberOfIntervals], [stepSize], [tolerance], [method], [fileNamePrefix], [options], [outputFormat], [variableFilter], [measureTime], [cflags], [simflags])
19871986
Example command:
19881987
simulate(A);
19891988
"

Examples/ComplianceSuite.mos

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ function last
1111
end last;
1212
");getErrorString();
1313

14-
deleteClass(ModelicaCompliance.Components.Declarations.DoubleDeclarationComps);getErrorString();
15-
deleteClass(ModelicaCompliance.Components.Declarations.DoubleDeclarationMixed);getErrorString();
16-
deleteClass(ModelicaCompliance.Components.Declarations.TypeNameAsComponentName);getErrorString();
1714
system("rm -f ModelicaCompliance.*.res");getErrorString();
1815

1916
echo(false);

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CXX=@CXX@
2222
CFLAGS=@CFLAGS@
2323
CPPFLAGS=@CPPFLAGS@
2424
CXXFLAGS=@CXXFLAGS@
25-
LINK=cp -frl
25+
LINK=@LINK@
2626

2727
include Makefile.common
2828

0 commit comments

Comments
 (0)