This repository was archived by the owner on May 18, 2019. It is now read-only.
Commit f251a60
fix simulation code compilation on Windows
- use g++ to link the executable on Windows with -static-libstc++
- remove c++ includes from the
SimulationRuntime/c/simulation/simulation_runtime.h
- guard some files with extern "C" so we can always
use g++ to compile the generated code
Belonging to [master]:
- #25691 parent a32b622 commit f251a60
File tree
2 files changed
+23
-13
lines changed- Compiler/Template
- SimulationRuntime/c/simulation
2 files changed
+23
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
| |||
200 | 205 | | |
201 | 206 | | |
202 | 207 | | |
| 208 | + | |
| 209 | + | |
203 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
204 | 214 | | |
205 | 215 | | |
206 | 216 | | |
| |||
1021 | 1031 | | |
1022 | 1032 | | |
1023 | 1033 | | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
1024 | 1039 | | |
1025 | 1040 | | |
1026 | 1041 | | |
| |||
1038 | 1053 | | |
1039 | 1054 | | |
1040 | 1055 | | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
1044 | 1056 | | |
1045 | 1057 | | |
1046 | 1058 | | |
| |||
1127 | 1139 | | |
1128 | 1140 | | |
1129 | 1141 | | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
1134 | 1142 | | |
1135 | 1143 | | |
1136 | 1144 | | |
| |||
1165 | 1173 | | |
1166 | 1174 | | |
1167 | 1175 | | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
1168 | 1181 | | |
1169 | 1182 | | |
1170 | 1183 | | |
| |||
5774 | 5787 | | |
5775 | 5788 | | |
5776 | 5789 | | |
5777 | | - | |
| 5790 | + | |
5778 | 5791 | | |
5779 | 5792 | | |
5780 | 5793 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 49 | | |
53 | 50 | | |
54 | 51 | | |
| 52 | + | |
55 | 53 | | |
| 54 | + | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
59 | | - | |
60 | | - | |
61 | 58 | | |
62 | 59 | | |
63 | 60 | | |
| |||
0 commit comments