Opened 10 years ago
Closed 4 years ago
#7460 closed Bugs (fixed)
owi_mt_tests.cpp:89: error: 'TIME_UTC' is not a member of 'boost'
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost 1.50.0 | Severity: | Regression |
Keywords: | regression, c++, gcc 4.1.2 | Cc: |
Description
Release 1.50.0 is not compiling on Linux with gcc-4.1.2 when running boost_1_50_0/libs/spirit/classic/test test.
Test run using command:
../../../../bjam -a >test.result
Here is the problem:
gcc.compile.c++ ../../../../bin.v2/libs/spirit/classic/test/owi_mt_tests.test/gcc-4.1.2/debug/threading-multi/owi_mt_tests.o owi_mt_tests.cpp: In static member function 'static long unsigned int test_task<ClassT>::increase_test_size(long unsigned int)': owi_mt_tests.cpp:89: error: 'TIME_UTC' is not a member of 'boost' owi_mt_tests.cpp: In function 'void concurrent_creation_of_objects()': owi_mt_tests.cpp:190: error: 'TIME_UTC' is not a member of 'boost'
It should be using TIME_UTC_ and not TIME_UTC. I am surprised this bug hasn't been reported before.
Blessings, Greg.
Change History (3)
comment:1 by , 10 years ago
Component: | Regression Testing → spirit |
---|---|
Owner: | changed from | to
comment:2 by , 5 years ago
comment:3 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This was a Boost.Thread problem #6940.