[CDRIVER-643] Solaris Compiler warning Created: 12/May/15 Updated: 17/May/17 Resolved: 15/Dec/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Jeroen Ooms [X] | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Assorted compiler warnings for 1.1.5-dev. Some of these may be due to misconfiguration on my end, please tell me if so.
|
| Comments |
| Comment by Githook User [ 19/Jul/16 ] | |||||||||||||||
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: | |||||||||||||||
| Comment by Hannes Magnusson [ 15/Dec/15 ] | |||||||||||||||
|
I should mention that we are trying very hard to expand our CI testmatrix. | |||||||||||||||
| Comment by Hannes Magnusson [ 15/Dec/15 ] | |||||||||||||||
|
This is a bit messy ticket, difficult to get the current status of it.. I think I'm going to close it out, and if there is remaining work we'll need to create separate tickets for it. As of last week Solaris using our "officially supported toolchain" runs cleaninly without any warnings when configured with --enable-maintainer-flags. See:
Do note that we currently "do not support" -pedantic. I am also aware that clang may produce some other warnings, and Solaris Studio probably too. | |||||||||||||||
| Comment by Githook User [ 04/Dec/15 ] | |||||||||||||||
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: | |||||||||||||||
| Comment by Githook User [ 04/Dec/15 ] | |||||||||||||||
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: | |||||||||||||||
| Comment by Githook User [ 04/Dec/15 ] | |||||||||||||||
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: | |||||||||||||||
| Comment by Jeroen Ooms [X] [ 24/Oct/15 ] | |||||||||||||||
|
I just updated mongo-c-driver to the latest master branch and there are still a few warnings in Solaris Studio 12.3:
And Linux with -pedantic
And on windows:
| |||||||||||||||
| Comment by Hannes Magnusson [ 23/Oct/15 ] | |||||||||||||||
|
The warning bson-timegm.c:180 is in (popularly) vendored code. It does no harm and the warning is superfluous. Fixing it is likelier to cause bugs then leaving it. The mingw ones are covered in Leaving the:
I don't know about this one, I'll have to look at it | |||||||||||||||
| Comment by A. Jesse Jiryu Davis [ 12/May/15 ] | |||||||||||||||
|
Thanks for the report! Not all of these may be fixed until 1.2, but it's a goal to eventually compile without warnings on all supported platforms. |