Boost C++ Libraries: Ticket #7096: warning: static local variables of extern inline function are not resolved to single copy. https://svn.boost.org/trac10/ticket/7096 <p> Hello, </p> <p> My TI compiler reports the following warning: </p> <pre class="wiki">warning: static local variables of extern inline function are not resolved to single copy. Not ANSI C++ Compliant </pre><p> in boost/random/detail/large_arithmetic.hpp", line 34 and 36. </p> <p> Those variables are constant built-in integers, so it seems reasonable to simply remove the 'static' word in these cases. Would such a change be welcome? </p> <p> Regards, Kris </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7096 Trac 1.4.3 Steven Watanabe Mon, 15 Oct 2012 18:47:52 GMT <link>https://svn.boost.org/trac10/ticket/7096#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7096#comment:1</guid> <description> <p> I don't see a problem with this change. It doesn't hurt readability. However, it's low priority, since it's only a warning on a compiler that isn't widely used. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Mon, 15 Oct 2012 19:10:36 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/7096#comment:2 https://svn.boost.org/trac10/ticket/7096#comment:2 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/80992" title="Remove static. Fixes #7096">[80992]</a>) Remove static. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7096" title="#7096: Bugs: warning: static local variables of extern inline function are not ... (closed: fixed)">#7096</a> </p> Ticket