Skip to content

XmlSerializer.cpp at Serializers_ifc2x3 compile failed!!! #6549

@geo3data

Description

@geo3data

Bug Description

src\serializers\schema_dependent\XmlSerializer.cpp

#ifdef SCHEMA_HAS_IfcPropertySetDefinitionSet
aggregate_ofIfcSchema::IfcPropertySetDefinitionSet::ptr property_set_sets = get_related
<IfcSchema::IfcObject, IfcSchema::IfcRelDefinesByProperties, IfcSchema::IfcPropertySetDefinitionSet>
(object, &IfcSchema::IfcObject::IsDefinedBy, &IfcSchema::IfcRelDefinesByProperties::RelatingPropertyDefinition);

	for (auto& s : *property_set_sets) {
		 property_sets->push((decltype(property_sets))*s);
	}

#endif

i guess you forget #ifdef SCHEMA_HAS_IfcPropertySetDefinitionSet ,IfcPropertySetDefinitionSet only works in IFC4

Attachments

No response

Debug and Error Output


Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions