|
Boost : |
Subject: [boost] [thread] MinGW/gcc compile error in thread.cpp
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2013-08-31 19:03:58
Building the trunk version, I get this on MinGW:
gcc.compile.c++ ..\..\..\bin.v2\libs\thread\build\gcc-mingw-4.7.2\debug\link-sta
tic\threading-multi\win32\thread.o
..\..\..\libs\thread\src\win32\thread.cpp: In member function 'bool boost::threa
d::start_thread_noexcept()':
..\..\..\libs\thread\src\win32\thread.cpp:238:9: error: reference to 'uintptr_t'
is ambiguous
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/stdint.h:3:0
,
from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/
wchar.h:479,
from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cwchar:4
6,
from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/pos
types.h:42,
from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/cha
r_traits.h:42,
from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/string:4
2,
from ..\..\../boost/date_time/c_time.hpp:18,
from ..\..\../boost/date_time/time_clock.hpp:16,
from ..\..\../boost/thread/thread_time.hpp:9,
from ..\..\../boost/thread/win32/thread_data.hpp:10,
from ..\..\../boost/thread/thread_only.hpp:15,
from ..\..\..\libs\thread\src\win32\thread.cpp:17:
Emil
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk