[CDRIVER-439] libbson and libmongoc should compile with -std=c99 and -D_XOPEN_SOURCE=600 Created: 08/Oct/14 Updated: 10/Aug/16 Resolved: 06/Jun/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.0.0 |
| Fix Version/s: | 1.4.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Epic Link: | C Driver in Evergreen | ||||||||||||
| Description |
|
libmongoc and libbson should compile with -std=c99 and -X_OPEN_SOURCE=600. There's plenty of room for things like _GNU_SOURCE for syscall() on linux, but we should be able to fall back to c99 and posix from 2004 |
| Comments |
| Comment by Hannes Magnusson [ 06/Jun/16 ] |
|
I'm not sure which improvements are being referred to here, but we now have a build variant for this |
| Comment by Githook User [ 06/Jun/16 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: Also variants for |
| Comment by A. Jesse Jiryu Davis [ 02/Dec/15 ] |
|
A quick test with GCC 4.9.2 shows that the public headers, at least, compile with these flags. We need an Evergreen build variant that compiles and tests the whole driver with c99 and X_OPEN_SOURCE. |