Thanks Paul for ur quick reply,

Actually i cannot use #ifdef and #ifndef 'couse that will effect other
things on my side.

So is their any other way to do that.

Thanks

On 2/14/07, Paul Herring <[EMAIL PROTECTED]> wrote:

  On 2/14/07, vishal thakur <[EMAIL PROTECTED]<lahsiv.vishal%40gmail.com>>
wrote:

> How i can include/exclude function from source files while compiling or
linking. So that
> dependency on other files can be resolved without adding those files
while linking.

When compiling, use #ifdef and #ifndef. When linking, don't include
the object file.

--
PJH
Aio, quantitas magna frumentorum est



--
Regards
Vishal Thakur
+919871892410

Reply via email to