Opened 10 years ago
Closed 10 years ago
#7096 closed Bugs (fixed)
warning: static local variables of extern inline function are not resolved to single copy.
Reported by: | Owned by: | No-Maintainer | |
---|---|---|---|
Milestone: | To Be Determined | Component: | random |
Version: | Boost 1.50.0 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
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
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.