[CDRIVER-1178] Reduce compiler warning flood on Windows Created: 25/Mar/16 Updated: 17/Aug/17 Resolved: 25/Mar/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.4.0 |
| Fix Version/s: | 1.4.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Hannes Magnusson | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Compiling mongoc on VS Studio 2015 results in 182 compiler warnings. 84 of these warnings can be avoided quite easily by setting _CRT_SECURE_NO_WARNINGS and casting to DWORD in SleepConditionVariableCS Thats a pretty high gain for trivial changes, allowing at least that much easier spotting of actual problems. |
| Comments |
| Comment by Githook User [ 25/Mar/16 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: 182 warnings -> 98 warnings |