[MacPorts] #70842: lfortran port fails to compile

MacPorts noreply at macports.org
Fri Sep 20 21:16:38 UTC 2024


#70842: lfortran port fails to compile
----------------------+----------------------
 Reporter:  kwolcott  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  lfortran
----------------------+----------------------
 const SizeType' (aka 'const unsigned int')
   319 |     GenericStringRef& operator=(const GenericStringRef& rhs) { s =
 rhs.s; length = rhs.length; }
       |
 ~~~~~~ ^
 /opt/local/include/rapidjson/document.h:325:20: note: non-static data
 member 'length' declared const here
   325 |     const SizeType length; //!< length of the string (excluding
 the trailing NULL terminator)
       |     ~~~~~~~~~~~~~~~^~~~~~
 1 error generated.
 make[2]: *** [src/lfortran/CMakeFiles/lfortran_lib.dir/ast_to_json.cpp.o]
 Error 1

 MacOS 15.0

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


More information about the macports-tickets mailing list