Boost C++ Libraries: Ticket #13226: getpagesize() is deprecated since 199506L https://svn.boost.org/trac10/ticket/13226 <p> with -D_POSIX_C_SOURCE=<strong>200809L</strong> defined, I get the following error: </p> <pre class="wiki">/Users/clausklein/Workspace/cpp/boost_1_65_1/stage/include/boost/thread/pthread/thread_data.hpp:53:35: error: use of undeclared identifier 'getpagesize' std::size_t page_size = getpagesize(); ^ 1 error generated. </pre><p> it can be prevented by <em>#undef _POSIX_C_SOURCE</em> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13226 Trac 1.4.3 claus.klein@… Thu, 21 Sep 2017 16:28:56 GMT attachment set https://svn.boost.org/trac10/ticket/13226 https://svn.boost.org/trac10/ticket/13226 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">POSIX_C_DEPRECATED.log</span> </li> </ul> Ticket claus.klein@… Thu, 21 Sep 2017 16:30:37 GMT attachment set https://svn.boost.org/trac10/ticket/13226 https://svn.boost.org/trac10/ticket/13226 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">thread_tss_test.cpp</span> </li> </ul> <p> example to compile </p> Ticket viboes Sat, 23 Sep 2017 08:09:35 GMT owner, status changed https://svn.boost.org/trac10/ticket/13226#comment:1 https://svn.boost.org/trac10/ticket/13226#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Hi, </p> <p> develop branch contains now </p> <p> <a class="ext-link" href="https://github.com/boostorg/thread/blob/develop/include/boost/thread/pthread/thread_data.hpp#L53"><span class="icon">​</span>https://github.com/boostorg/thread/blob/develop/include/boost/thread/pthread/thread_data.hpp#L53</a> </p> <p> This was introduce (fixed?) in <a class="ext-link" href="https://github.com/boostorg/thread/commit/24a22b66ef729a645788f13e5127044f867478bc#diff-89f11b13350765704ffcecd2d8e128a1"><span class="icon">​</span>https://github.com/boostorg/thread/commit/24a22b66ef729a645788f13e5127044f867478bc#diff-89f11b13350765704ffcecd2d8e128a1</a> </p> <p> Would this work for you? </p> Ticket viboes Mon, 25 Sep 2017 20:32:08 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/13226#comment:2 https://svn.boost.org/trac10/ticket/13226#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.66.0</span> </li> </ul> Ticket