$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [thread] MinGW/gcc compile error in thread.cpp
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-09-01 04:37:34
Le 01/09/13 01:03, Emil Dotchevski a écrit :
> 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:
>
Hi,
I have just committed something this morning.
svn ci -m "Thread: try to handle with not needed definition of uintptr_t
#8817."
Sending src/win32/thread.cpp
Transmitting file data .
Committed revision 85540.
Please update the trunk and let me know how it works after.
Best,
Vicente