PR# 14446 Abstract target that references class in library included in extender causes VTCT

Problem Report Summary
Submitter: prestoat2000
Category: Compiler
Priority: Medium
Date: 2008/06/04
Class: Bug
Severity: Non-critical
Number: 14446
Release: 6.2.73753
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.1.9) Gecko/20071111 Firefox/2.0.0.9 Solaris 10 on SPARC
Synopsis: Abstract target that references class in library included in extender causes VTCT

Description
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?
To Reproduce
Compile with attached class and config file.  Compiler reports VTCT error.
Problem Report Interactions
From:prestoat2000    Date:2008/06/04    Download   
Attachments for problem report #14446

Attachment: test.e     Size:105
Attachment: test.ecf     Size:724