[SERVER-6340] TIME_UTC is a macro in C11, compilation of lines, containing boost::TIME_UTC will fail with glibc 2.16 Created: 06/Jul/12 Updated: 11/Jul/16 Resolved: 10/Jul/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client |
| Affects Version/s: | 2.1.2 |
| Fix Version/s: | 2.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alex Syrnikov | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | driver | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
latest glibc (2.16) gcc 4.7.1 |
||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
TIME_UTC is a macro in C11, compilation of lines, containing boost::TIME_UTC will fail with glibc 2.16 Just try to compile one line file boost ticket for "TIME_UTC is a macro in C11" error: So there is two errors |
| Comments |
| Comment by auto [ 10/Jul/12 ] |
|
Author: {u'date': u'2012-07-09T15:11:54-07:00', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: This avoids a compilation failure with glibc-2.16 or any other C11 libc. |