Opened 20 years ago
Closed 17 years ago
#91 closed Bugs (None)
boost::threads uses msvc only function?
| Reported by: | matzebraun | Owned by: | Roland Schwarz |
|---|---|---|---|
| Milestone: | Component: | threads | |
| Version: | None | Severity: | |
| Keywords: | Cc: |
Description
Hi, I tried compiling boost::thread with cgywin and
mingw, and hit the following problem:
g++ -Wall -I.. -I../include -DBOOST_HAS_WINTHREADS
-I/usr/include/mingw -c thread/thread.cpp -o
thread/thread.o
thread/thread.cpp: In method
`boost::thread::thread(const
boost::function0<void,boost::empty_function_policy,boost::empty_function_mixin,allocator<boost::function_base>
> &)':
thread/thread.cpp:107: implicit declaration of function
`int boost::_beginthreadex(...)'
after looking at some comments in the header files it
seems that this function is only provided by msvcrt.dll
which is != standard win API. Would it be possible to
change the usage here? Or did I miss something?
Greetings,
Matze
Note:
See TracTickets
for help on using tickets.
