Commit 5da08d4
committed
VS2015 fixes for Tesselator.cpp. Fix issues:
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(176): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(177): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(178): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(188): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(189): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(190): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(140): warning C4101: 'Umax': unreferenced local variable [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(139): warning C4101: 'Umin': unreferenced local variable [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(142): warning C4101: 'Vmax': unreferenced local variable [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(141): warning C4101: 'Vmin': unreferenced local variable [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(144): warning C4101: 'dUmax': unreferenced local variable [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(145): warning C4101: 'dVmax': unreferenced local variable [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(266): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(267): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(268): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(278): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(279): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(280): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(312): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(313): warning C4244: '=': conversion from 'Standard_Real' to 'float', possible loss of data [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(360): error C2039: 'max': is not a member of 'std' [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\sstream(12): note: see declaration of 'std'
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(360): error C3861: 'max': identifier not found [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(874): warning C4101: 'aUmaxLeft': unreferenced local variable [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(875): warning C4101: 'aUmaxBottom': unreferenced local variable [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(875): warning C4101: 'aVmaxBottom': unreferenced local variable [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(874): warning C4101: 'aVmaxLeft': unreferenced local variable [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(873): warning C4101: 'aUmaxBack': unreferenced local variable [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]
C:\projects\pythonocc-core\src\Visualization\Tesselator.cpp(873): warning C4101: 'aVmaxBack': unreferenced local variable [C:\projects\pythonocc-core\cmake-build\_Visualization.vcxproj]1 parent f57951e commit 5da08d4
1 file changed
Lines changed: 16 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | 140 | | |
148 | 141 | | |
149 | 142 | | |
| |||
173 | 166 | | |
174 | 167 | | |
175 | 168 | | |
176 | | - | |
177 | | - | |
178 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
179 | 172 | | |
180 | 173 | | |
181 | 174 | | |
| |||
185 | 178 | | |
186 | 179 | | |
187 | 180 | | |
188 | | - | |
189 | | - | |
190 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
191 | 184 | | |
192 | 185 | | |
193 | 186 | | |
| |||
263 | 256 | | |
264 | 257 | | |
265 | 258 | | |
266 | | - | |
267 | | - | |
268 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
269 | 262 | | |
270 | 263 | | |
271 | 264 | | |
| |||
275 | 268 | | |
276 | 269 | | |
277 | 270 | | |
278 | | - | |
279 | | - | |
280 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
281 | 274 | | |
282 | 275 | | |
283 | 276 | | |
| |||
309 | 302 | | |
310 | 303 | | |
311 | 304 | | |
312 | | - | |
313 | | - | |
314 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
315 | 308 | | |
316 | 309 | | |
317 | 310 | | |
| |||
877 | 870 | | |
878 | 871 | | |
879 | 872 | | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | 873 | | |
884 | 874 | | |
885 | 875 | | |
| |||
0 commit comments