Re: [Boost-bugs] [Boost C++ Libraries] #8726: GCC 4.8 warns of variable set but not used

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8726: GCC 4.8 warns of variable set but not used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-20 22:15:06


#8726: GCC 4.8 warns of variable set but not used
--------------------------------------------+---------------------------
  Reporter: Chris Stylianou <chris5287@…> | Owner: ramey
      Type: Bugs | Status: closed
 Milestone: Boost 1.54.0 | Component: serialization
   Version: Boost Development Trunk | Severity: Problem
Resolution: invalid | Keywords:
--------------------------------------------+---------------------------
Changes (by ramey):

 * status: new => closed
 * resolution: => invalid

Comment:

 Hmmm - this wouldn't work.

 It would mean that when compiling for release mode, the register_type
 function wouldn't get called.

 Note that this will only emit the warning in debug mode.

 I'm going to mark this idea as not valid - feel free to re-open if if you
 get a better idea.

 RObert Ramey

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8726#comment:1>
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:13 UTC