I cannot provide code,but i can explain that I have arround 500 Source files, which is used to generated many executables which are part of project.
Now that file from which i want to exclude code is dependent on many files, so i need to put all dependency of that file for generating an exe. I have one solution that i take out that function to new file but if i do that i have to do lot of work to change all makefiles, and same is applicable to #ifdef/#ifndef, So thats why i was thinking if their exist some other way. with GNU compiler i think we can do that with flag --include-function or --exclude-function but i am using VC++ compiler "cl". Do let me know if i am not clear. Thanks Vishal On 2/14/07, Paul Herring <[EMAIL PROTECTED]> wrote:
On 2/14/07, vishal thakur <[EMAIL PROTECTED]<lahsiv.vishal%40gmail.com>> wrote: > > Thanks Paul for ur quick reply, > > Actually i cannot use #ifdef and #ifndef 'couse that will effect other things on my side. Why's that? > So is their any other way to do that. Why do you need to exclude them? Can you provide a (brief!) code example of what you're trying to accomplish? -- PJH Aio, quantitas magna frumentorum est
-- Regards Vishal Thakur +919871892410
