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: greg.nowakowski@… 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 viboes, 10 years ago

Component: Regression Testingspirit
Owner: changed from René Rivera to Joel de Guzman

comment:2 by Nikita Kniazev <nok.raven@…>, 5 years ago

This was a Boost.Thread problem #6940.

comment:3 by Joel de Guzman, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.