[SERVER-6449] TIME_UTC_ does not compile in C++ driver Created: 14/Jul/12  Updated: 11/Jul/16  Resolved: 16/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: Eric Milkie Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CXX-86 C++ driver can't compile with glibc 2.16 Closed
is related to SERVER-6340 TIME_UTC is a macro in C11, compilati... Closed
Operating System: ALL
Participants:

 Description   

http://buildbot.mongodb.org/builders/Nightly%20Linux%2064-bit/builds/1034/steps/shell_6/logs/stdio

g++ -o build/mongo/client/examples/authTest.o -c -O3 -pthread -D_SCONS -Ibuild -Isrc -Ibuild/mongo -Isrc/mongo -I/opt/extra/include -I/opt/extra src/mongo/client/examples/authTest.cpp
src/mongo/util/concurrency/mutex.h: In function 'boost::xtime mongo::incxtimemillis(long long int)':
src/mongo/util/concurrency/mutex.h:40: error: 'TIME_UTC_' is not a member of 'boost'
scons: *** [build/mongo/client/examples/authTest.o] Error 1
scons: building terminated because of errors.



 Comments   
Comment by auto [ 14/Jul/12 ]

Author:

{u'date': u'2012-07-14T15:07:40-07:00', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}

Message: SERVER-6449 - decide which BOSOT::TIME_UTC variant to use at compile time
Branch: master
https://github.com/mongodb/mongo/commit/11513316d1bdc9ad9e8a19746fb7a04c15f78b3b

Generated at Thu Feb 08 03:11:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.