Opened 14 years ago
Closed 13 years ago
#2559 closed Bugs (worksforme)
error C2064 thread.hpp
Reported by: | Owned by: | Anthony Williams | |
---|---|---|---|
Milestone: | To Be Determined | Component: | thread |
Version: | Boost 1.36.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I am using Visual Studio 9.0 and Boost libraries 1.36. The program I am trying to compile #includes <boost/thread/thread.hpp> and <boost/thread/mutex.hpp>. The compiler reports the following error:
Error 2 error C2064: term does not evaluate to a function taking 0 arguments D:\software\Boost C++ Libraries\boost_1_36_0\boost\thread\detail\thread.hpp 56 NGCR11Emitter
This is on line 56 in thread.hpp.
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Impossible to diagnose without more information.
Note:
See TracTickets
for help on using tickets.
It sounds like whatever is being passed to the thread constructor is not a function object. It's impossible to diagnose this without the template instantiation backtrace.