PR# 14446 Abstract target that references class in library included in extender causes VTCT
Problem Report Summary
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:188.8.131.52) Gecko/20071111 Firefox/184.108.40.206 Solaris 10 on SPARC
Synopsis: Abstract target that references class in library included in extender causes VTCT
I'm not sure that this is a bug but the behavior is certainly not intuitive to me. The attached config file has an abstract target "common" that includes the base library and a cluster with the root class TEST. The root class inherits from THREAD_CONTROL. A non-abstract target "test" extends "common" and adds the thread library. When the system is compiled, the compiler reports a VTCT error on THREAD_CONTROL: Error code: VTCT Error: type is based on unknown class. What to do: use an identifier that is the name of a class in the universe. Class: TEST Unknown class name: THREAD_CONTROL in common The compiler seems to think that "common" must be self-contained (all classes referenced in it must be included in it). But from my point of view, target "test" has all the necessary clusters and libraries to compile the system. Is this a bug or just the way things are implemented?
Compile with attached class and config file. Compiler reports VTCT error.