- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit09a7774
committed
Clean up warnings in MinGW builds.
Experimentation with modern MinGW (specifically the 5.0.2 version packagedfor Fedora 26) shows that its version of sys/stat.h *does* provide S_IRGRPand friends, contrary to the expectation of win32_port.h. This results inan astonishing number of compiler warnings, and perhaps in incorrect code--- I'm not sure if the nonzero values supplied by MinGW's header actuallydo anything. Hence, adjust win32_port.h to only define these macros if<sys/stat.h> doesn't.This might be worth back-patching, but given the lack of complaints sofar, I'm not too excited about it.1 parent687f096 commit09a7774
1 file changed
+47
-23
lines changedLines changed: 47 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
| 55 | + | |
55 | 56 |
| |
56 | 57 |
| |
57 | 58 |
| |
| |||
248 | 249 |
| |
249 | 250 |
| |
250 | 251 |
| |
| 252 | + | |
| 253 | + | |
251 | 254 |
| |
252 | 255 |
| |
253 | 256 |
| |
254 | 257 |
| |
255 | 258 |
| |
256 | 259 |
| |
257 | 260 |
| |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 | 261 |
| |
262 | 262 |
| |
263 | 263 |
| |
264 | 264 |
| |
265 |
| - | |
266 | 265 |
| |
267 |
| - | |
268 | 266 |
| |
269 | 267 |
| |
270 | 268 |
| |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
271 | 313 |
| |
272 | 314 |
| |
273 | 315 |
| |
| |||
456 | 498 |
| |
457 | 499 |
| |
458 | 500 |
| |
459 |
| - | |
460 |
| - | |
461 |
| - | |
462 |
| - | |
463 |
| - | |
464 |
| - | |
465 |
| - | |
466 |
| - | |
467 | 501 |
| |
468 | 502 |
| |
469 | 503 |
| |
| |||
478 | 512 |
| |
479 | 513 |
| |
480 | 514 |
| |
481 |
| - | |
482 |
| - | |
483 |
| - | |
484 |
| - | |
485 |
| - | |
486 |
| - | |
487 |
| - | |
488 |
| - | |
489 |
| - | |
490 |
| - | |
491 | 515 |
|
0 commit comments
Comments
(0)