Opened 12 years ago

Closed 12 years ago

#5196 closed Bugs (fixed)

BOOST_STATIC_CONSTANT misused in serialization/version.hpp

Reported by: j.reid@… Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

See the boost.user thread at http://article.gmane.org/gmane.comp.lib.boost.user/65803

I found this problem in SVN revision 64053

Change History (3)

comment:1 by Robert Ramey, 12 years ago

Hmmm I use BOOST_STATIC_CONSTANT almost everywhere. Does this mean this "fix" should be included everywhere? What compiler do you use?

Robert Ramey

comment:2 by Steven Watanabe, 12 years ago

The fix is only needed if the value is "used." If you know that the value is never going to be bound to a reference, then it's okay to leave out the definition.

comment:3 by Robert Ramey, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.