|
-
Jan 17th, 2004, 08:44 PM
#1
Thread Starter
Hyperactive Member
To link or not to link
I got question on linking particularly in msvc6.
Lets say I have the winmain in the main.cpp ->main.obj
I have a foo class=>foo.obj
and
foobar class->foobar.obj
In main i only have an instance of foo class.
Basically I want to compile both classes but only link foo.obj.
So is there a way to tell the linker "Hey if theres no instances of class foobar, dont link it in"??
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|