[Boost-bugs] [Boost C++ Libraries] #13640: GCC trunk can only compile program_options with -fpermissive

Subject: [Boost-bugs] [Boost C++ Libraries] #13640: GCC trunk can only compile program_options with -fpermissive
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-07-23 09:51:27


#13640: GCC trunk can only compile program_options with -fpermissive
------------------------------+-----------------------------
 Reporter: anonymous | Owner: Vladimir Prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: program_options
  Version: Boost 1.65.0 | Severity: Problem
 Keywords: |
------------------------------+-----------------------------
 /usr/include/boost/program_options/variables_map.hpp:172:14: error: friend
 declaration of ‘void boost::program_options::store(const
 boost::program_options::basic_parsed_options<char>&,
 boost::program_options::variables_map&, bool)’ specifies default arguments
 and isn't the only declaration [-fpermissive]
          void store(const basic_parsed_options<char>& options,
               ^~~~~
 /usr/include/boost/program_options/variables_map.hpp:98:14: note: previous
 declaration of ‘void boost::program_options::store(const
 boost::program_options::basic_parsed_options<char>&,
 boost::program_options::variables_map&, bool)’
          void store(const basic_parsed_options<char>& options,
               ^~~~~

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13640>
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 : 2018-07-23 09:56:16 UTC