Skip to content

Jsoncpp ver1.9.1 fails to compile on ARM Compiler 5 #1086

Closed
@subithaparamasivan

Description

@subithaparamasivan

Please refer Issue id #1051 comments having more details regarding this issue.

we removed #include <type_traits> in include/json/config.h file and also removed from local dir(type_traits.h). In this case we are faced below compiler error in "allocator.h" file .

json/allocator.h(18,9) : error #738: a class-qualified name is required
json/allocator.h(18,20) : error #65: expected a ";"
json/allocator.h(19,9) : error #738: a class-qualified name is required
json/allocator.h(19,17) : error #65: expected a ";"
json/allocator.h(20,9) : error #738: a class-qualified name is required
json/allocator.h(20,23) : error #65: expected a ";"
json/allocator.h(21,9) : error #738: a class-qualified name is required
json/allocator.h(21,19) : error #65: expected a ";"
json/allocator.h(22,9) : error #738: a class-qualified name is required
json/allocator.h(22,25) : error #65: expected a ";"
json/allocator.h(23,9) : error #738: a class-qualified name is required
json/allocator.h(23,19) : error #65: expected a ";"
json/allocator.h(24,9) : error #738: a class-qualified name is required
json/allocator.h(24,25) : error #65: expected a ";"
json/allocator.h(29,3) : error #20: identifier "pointer" is undefined
json/allocator.h(29,20) : error #20: identifier "size_type" is undefined
json/allocator.h(41,28) : error #20: identifier "pointer" is undefined
json/allocator.h(41,39) : error #20: identifier "size_type" is undefined
json/allocator.h(50,21) : error #40: expected an identifier
json/allocator.h(50,46) : error #20: identifier "pointer" is undefined
json/allocator.h(50,57) : error #20: identifier "Args" is undefined
json/allocator.h(50,61) : error #18: expected a ")"
json/allocator.h(55,3) : error #20: identifier "size_type" is undefined
json/allocator.h(57,3) : error #20: identifier "pointer" is undefined
json/allocator.h(57,19) : error #20: identifier "reference" is undefined
json/allocator.h(59,3) : error #20: identifier "const_pointer" is undefined
json/allocator.h(59,25) : error #20: identifier "const_reference" is undefined
json/allocator.h(59,17) : error #403: invalid redeclaration of member function "Json::SecureAllocator::address() const" (declared at line 57)
json/allocator.h(64,16) : error #20: identifier "pointer" is undefined
json/allocator.h(72,47) : error #738: a class-qualified name is required

Could you please help on this.
Kindly do needful ASAP.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions