Opened 8 hours ago

Last modified 8 hours ago

#70842 assigned defect

lfortran port fails to compile — at Initial Version

Reported by: kwolcott Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: sequoia Cc:
Port: lfortran, rapidjson

Description

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

Change History (1)

Changed 8 hours ago by kwolcott

Note: See TracTickets for help on using tickets.