[Boost-bugs] [Boost C++ Libraries] #7096: warning: static local variables of extern inline function are not resolved to single copy.

Subject: [Boost-bugs] [Boost C++ Libraries] #7096: warning: static local variables of extern inline function are not resolved to single copy.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-06 10:13:20


#7096: warning: static local variables of extern inline function are not resolved
to single copy.
--------------------------------+-------------------------------------------
 Reporter: 1czajnik@… | Owner: no-maintainer
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: random
  Version: Boost 1.50.0 | Severity: Cosmetic
 Keywords: |
--------------------------------+-------------------------------------------
 Hello,

 My TI compiler reports the following warning:
 {{{
 warning: static local variables of extern inline function are not resolved
 to single copy. Not ANSI C++ Compliant
 }}}
 in boost/random/detail/large_arithmetic.hpp", line 34 and 36.

 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?

 Regards,
 Kris

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7096>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC