Boost C++ Libraries: Ticket #13236: bjam compile error https://svn.boost.org/trac10/ticket/13236 <p> Windows 10, Visual Studio 2012 SP5 boost_1_65_1\tools\build\src\engine\strings.c function: </p> <blockquote> <p> void string_rtrim( string * self ) </p> </blockquote> <p> compilation error: </p> <blockquote> <p> char * p = self-&gt;value + self-&gt;size - 1; </p> </blockquote> <p> should be: </p> <blockquote> <p> char * p = self-&gt;value[ self-&gt;size - 1 ]; </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13236 Trac 1.4.3 Steven Watanabe Tue, 23 Jan 2018 00:30:41 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/13236#comment:1 https://svn.boost.org/trac10/ticket/13236#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> The code looks correct to me, and the proposed fix is definitely wrong. </p> <p> Oh, I see the problem. It was fixed here: <a class="ext-link" href="https://github.com/boostorg/build/commit/2f84a23f8d747f4ebe9d29ea7e8722a543f33f2b#diff-d1006f106555421a11b74de014f07893"><span class="icon">​</span>https://github.com/boostorg/build/commit/2f84a23f8d747f4ebe9d29ea7e8722a543f33f2b#diff-d1006f106555421a11b74de014f07893</a> </p> Ticket