Boost C++ Libraries: Ticket #12501: config/platform/vxworks.hpp #defines macros with lowercase names that clash with other libraries https://svn.boost.org/trac10/ticket/12501 <p> boost/config/platform/vxworks.hpp #defines macros with bad names like getpagesize(), lstat(x,y).<br /> These names clash with identifier names (function members) in other libraries that I #include and thus cannot compile.<br /> Please change these macros to inline global functions or template functions. </p> <p> e.g. </p> <pre class="wiki">//#define lstat(p, b) stat(p, b) template&lt; typename T1, typename T2 &gt; BOOST_TYPOF( ::stat( declval&lt;T1&gt;(), declval&lt;T2&gt;() ) ) lstat( T1&amp;&amp; t1, T2&amp;&amp; t2 ) { return ::stat(forward(t1),forward(t2)); } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12501 Trac 1.4.3 John Maddock Sun, 16 Apr 2017 18:22:50 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12501#comment:1 https://svn.boost.org/trac10/ticket/12501#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Done, thanks for the report. </p> Ticket