[MacPorts] #60765: xeus, nlohmann-json: error: an attribute list cannot appear here

MacPorts noreply at macports.org
Fri Jul 3 09:23:09 UTC 2020


#60765: xeus, nlohmann-json: error: an attribute list cannot appear here
------------------------+---------------------------------
 Reporter:  ryandesign  |      Owner:  Schamschula
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  xeus, nlohmann-json
------------------------+---------------------------------
 [https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/118557/steps
 /install-port/logs/stdio xeus does not build]:

 {{{
 /opt/local/include/nlohmann/json.hpp:22424:5: error: an attribute list
 cannot appear here
     JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len))
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/include/nlohmann/json.hpp:1066:110: note: expanded from macro
 'JSON_HEDLEY_DEPRECATED_FOR'
     #define JSON_HEDLEY_DEPRECATED_FOR(since, replacement)
 JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[deprecated("Since "
 #since "; use " #replacement)]])
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/include/nlohmann/json.hpp:819:5: note: expanded from macro
 'JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_'
     xpr \
     ^
 }}}

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


More information about the macports-tickets mailing list