| 2514 |
Compilation packages may have non compilation child packages |
Child packages can have a different compilation/non-compilation attribute from their parent. This is incorrectly handled by the Makefile generator.
For example, if Package2 is a compilation package, and a child of Package1 (a non-compilation package), you may encounter an error in the Error Browser such as:
"System command [nmake -f Makefile COMPILE.NOW ] returned error [2]"
In the Compilation Details, or by rerunning the command at a command prompt, you can get the following error message typically issued to the STDERR stream:
"NMAKE : fatal error U1073: don't know how to make 'LF/Package1.package' Stop."
(If Package1 was formerly a compilation package, this symptom will only appear when you do a rebuild.)
In the opposite case, if Package2 is non-compilation, but Package1 is compilation, then classes in Package2 are incorrectly compiled without Package1's compilation environment. In such a case, behavior depends on the compilation environment.
In both cases, the work-around is to make both parent and child packages' compilation attribute the same: both compilation or both non-compilation packages.
This is not known to be an issue when using Clearmake as your Make Type.
|