OLD | NEW |
1 In file included from left_most_gc_base.cpp:5: | 1 In file included from left_most_gc_base.cpp:5: |
2 ./left_most_gc_base.h:15:1: warning: [blink-gc] Class 'Right' must derive its GC
base in the left-most position. | 2 ./left_most_gc_base.h:15:1: warning: [blink-gc] Class 'Right' must derive its GC
base in the left-most position. |
3 class Right : public A, public B, public GarbageCollected<Right> { }; // Error | 3 class Right : public A, public B, public GarbageCollected<Right> { }; // Error |
4 ^ | 4 ^ |
5 ./left_most_gc_base.h:18:1: warning: [blink-gc] Class 'DerivedRight' must derive
its GC base in the left-most position. | 5 ./left_most_gc_base.h:18:1: warning: [blink-gc] Class 'DerivedRight' must derive
its GC base in the left-most position. |
6 class DerivedRight : public Right, public Left { }; // Error | 6 class DerivedRight : public Right, public Left { }; // Error |
7 ^ | 7 ^ |
8 2 warnings generated. | 8 ./left_most_gc_base.h:12:1: warning: [blink-gc] Left-most base class 'A' of deri
ved class 'IllFormed' must be polymorphic. |
| 9 class A { }; |
| 10 ^ |
| 11 ./left_most_gc_base.h:26:1: warning: [blink-gc] Class 'IllFormed' must derive it
s GC base in the left-most position. |
| 12 class IllFormed : public A, public C { }; // Error |
| 13 ^ |
| 14 4 warnings generated. |
OLD | NEW |