Boost logo

Boost :

Subject: [boost] boost thread rev 77005 fails on cygwin due SIGSTKSZ not defined
From: Bernd Prager (bernd_at_[hidden])
Date: 2012-02-13 15:00:09


All,

Boost Thread no longer compiles on Cygwin 1.7.10 / g++ (GCC) 4.5.3 since
SIGSTKSZ is not defined on this platform:

cc.compile.c++
bin.v2/libs/context/build/gcc-4.5.3/release/threading-multi/stack_utils_posix.o
libs\context\src\stack_utils_posix.cpp: In function
‘rlimit<unnamed>::stacksize_limit_()’:
libs\context\src\stack_utils_posix.cpp:27:15: warning: unused variable
‘result’
libs\context\src\stack_utils_posix.cpp: In function ‘size_t
boost::contexts::minimum_stacksize()’:
libs\context\src\stack_utils_posix.cpp:52:10: error: ‘SIGSTKSZ’ was not
declared in this scope
libs\context\src\stack_utils_posix.cpp:52:20: warning: control reaches
end of non-void function

Any suggested workarounds?
Thank you,
-- Bernd


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk