In file included from gced_as_field_or_variable.cpp:5: ./gced_as_field_or_variable.h:22:1: warning: [blink-gc] Class 'OtherGCed' contains invalid fields. class OtherGCed : public GarbageCollected { ^ ./gced_as_field_or_variable.h:34:3: note: [blink-gc] Part-object field 'gced_' to a GC derived class declared here: GCed gced_; ^ ./gced_as_field_or_variable.h:34:3: warning: [blink-gc] Using GC managed class 'GCed' as field 'gced_' is not allowed (Allocate with MakeGarbageCollected and use Member or Persistent instead): GCed gced_; ^~~~~~~~~~ ./gced_as_field_or_variable.h:35:3: warning: [blink-gc] Using GC managed class 'Mixin' as field 'mixin_' is not allowed (Allocate with MakeGarbageCollected and use Member or Persistent instead): Mixin mixin_; ^~~~~~~~~~~~ ./gced_as_field_or_variable.h:38:3: warning: [blink-gc] Using GC managed class 'BasicHeapVector' as field 'gced_vector_' is not allowed (Allocate with MakeGarbageCollected and use Member or Persistent instead): GCedHeapVector gced_vector_; // Not OK ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gced_as_field_or_variable.h:39:3: warning: [blink-gc] Using GC managed class 'BasicHeapHashMap' as field 'gced_map_' is not allowed (Allocate with MakeGarbageCollected and use Member or Persistent instead): GCedHeapHashMap gced_map_; // Not OK ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gced_as_field_or_variable.cpp:10:3: warning: [blink-gc] Using GC managed class 'GCed' as variable 'gced' is not allowed (Allocate with MakeGarbageCollected and use raw pointer instead): GCed gced; ^~~~~~~~~ gced_as_field_or_variable.cpp:12:3: warning: [blink-gc] Using GC managed class 'Mixin' as variable 'mixin' is not allowed (Allocate with MakeGarbageCollected and use raw pointer instead): Mixin mixin; ^~~~~~~~~~~ gced_as_field_or_variable.cpp:16:3: warning: [blink-gc] Using GC managed class 'BasicHeapVector' as variable 'gced_vector' is not allowed (Allocate with MakeGarbageCollected and use raw pointer instead): GCedHeapVector gced_vector; // Not OK ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gced_as_field_or_variable.cpp:17:3: warning: [blink-gc] Using GC managed class 'BasicHeapHashMap' as variable 'gced_map' is not allowed (Allocate with MakeGarbageCollected and use raw pointer instead): GCedHeapHashMap gced_map; // Not OK ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated.