Boost logo

Boost Users :

Subject: [Boost-users] [CONFIG] static const definitions
From: John M. Dlugosz (mpbecey7gu_at_[hidden])
Date: 2013-02-27 14:02:43


On 2/27/2013 5:09 AM, boost-users-request-at-lists.boost.org |Boost/Allow to home| wrote:
> In fact even when initialized inline, an out of line definition should
> always be provided as different compilers have different ideas about what
> constitutes "use" of the variable (rather than just the value). MSVC pretty
> much never requires an out-of-line definition for example, where as GCC will
> often generate linker errors if you don't provide it.
The problem is that MSVC is _prohibiting_ an out-of-line definition! (Visual Studio 2010)


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net