Opened 6 years ago

Closed 6 years ago

#12324 closed Bugs (duplicate)

Compilation error when BOOST_THREAD_PROVIDES_INTERRUPTIONS is not defined

Reported by: Daniel Laügt <daniel.laugt@…> Owned by: viboes
Milestone: Boost 1.62.0 Component: thread
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

make[1]: Entering directory `boost/libs/thread/build'
Compiling future.o...
Compiling tss_null.o...
Compiling once.o...
Compiling thread.o...
In file included from ../../../../../tools/boost/boost/thread/pthread/thread_data.hpp:14:0,

from ../../../../../tools/boost/boost/thread/thread_only.hpp:17,
from ../src/pthread/thread.cpp:11:

../../../../../tools/boost/boost/thread/pthread/condition_variable_fwd.hpp: In constructor ‘boost::condition_variable::condition_variable()’: ../../../../../tools/boost/boost/thread/pthread/condition_variable_fwd.hpp:85:13: error: ‘res’ was not declared in this scope

res = detail::monotonic_pthread_cond_init(cond);

Attachments (1)

condition_variable_fwd.hpp.patch (1.2 KB ) - added by Daniel Laügt <daniel.laugt@…> 6 years ago.
A proposal patch fixing the issue

Download all attachments as: .zip

Change History (4)

by Daniel Laügt <daniel.laugt@…>, 6 years ago

A proposal patch fixing the issue

comment:1 by viboes, 6 years ago

Owner: changed from Anthony Williams to viboes
Status: newassigned

comment:2 by viboes, 6 years ago

Milestone: To Be DeterminedBoost 1.62.0

comment:3 by viboes, 6 years ago

Resolution: duplicate
Status: assignedclosed

duplicate #12102

Note: See TracTickets for help on using tickets.