Skip to content

Commit 07df0c8

Browse files
committed
project_reader: don't relink type declaration
Fixes Exception: Unable to find out actual class definition: 'type'.
1 parent f720ecf commit 07df0c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pygccxml/parser/project_reader.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,11 +548,13 @@ def _relink_declarated_types(self, leaved_classes, declarated_types):
548548
if name == "rebind<std::__tree_node" + \
549549
"<std::basic_string<char>, void *> >":
550550
continue
551+
if name == "type":
552+
continue
551553

552554
msg = []
553555
msg.append(
554556
"Unable to find out actual class definition: '%s'." %
555-
decl_wrapper_type.declaration._name)
557+
name)
556558
msg.append((
557559
"Class definition has been changed from one " +
558560
"compilation to an other."))

0 commit comments

Comments
 (0)