Opened 4 years ago
#13640 new Bugs
GCC trunk can only compile program_options with -fpermissive
Reported by: | anonymous | Owned by: | Vladimir Prus |
---|---|---|---|
Milestone: | To Be Determined | Component: | program_options |
Version: | Boost 1.65.0 | Severity: | Problem |
Keywords: | Cc: |
Description
/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,