[MacPorts] #60326: jsoncpp @1.9.2: error: inline declaration of 'as<bool>' follows non-inline definition

MacPorts noreply at macports.org
Mon Apr 6 05:00:03 UTC 2020


#60326: jsoncpp @1.9.2: error: inline declaration of 'as<bool>' follows non-inline
definition
------------------------+-----------------------
 Reporter:  ryandesign  |      Owner:  michaelld
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:  yosemite    |       Port:  jsoncpp
------------------------+-----------------------
 [https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/113969/steps
 /install-port/logs/stdio jsoncpp does not build], at least not on
 Yosemite:

 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_jsoncpp/jsoncpp/work/jsoncpp-1.9.2/src/lib_json/../../include/json/value.h:680:32:
 error: inline declaration of 'as<bool>' follows non-inline definition
 template <> inline bool Value::as<bool>() const { return asBool(); }
                                ^
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_jsoncpp/jsoncpp/work/jsoncpp-1.9.2/src/lib_json/../../include/json/value.h:680:32:
 note: previous definition is here
 }}}

 (This is just the first of many similar errors.)

-- 
Ticket URL: <https://trac.macports.org/ticket/60326>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list