Can we define "not used" here please, more specifically.

If I have a bunch of classes defined in the project but no use of them is made in any other part of the project, are they included?

ie: is the "used" test based on some kind of tracing or just a once- off "does anything, anywhere, refer to this?"

The scenario I have in mind is including a unit test framework but only having it "linked" to the main app in a given build, with the instantiation of the unit test object guarded in a #if.

The main reason for thinking of this is the current impossibility of using external items with two projects open at once.
http://www.realsoftware.com/feedback/viewreport.php?reportid=wrbiduhb

For those who only know RB, this is not a particularly unusual request or thing to anticipate - most other build environments allow you to specify if things are included by target. In such a C++ IDE, if you had a Release target which didn't include the testing framework and you had accidentally left in a variable using the framework, you would get a linker error on building the Release version.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to