S
sam_cit
Hi All,
I have the following scenario,
A class is declared in the header file and has a static member
function sample() in sample.h
sample.cc uses the static member function sample().
the static member function sample() is under conditional compilation
SAMPLE
ifdef SAMPLE
<classname>.sample();
#endif
Now i have set the Macro SAMPLE to false in the Makefile,
SAMPLE=false
and i tried to compile the file sample.cc and it gives an error
saying, static member function() is not defined...
Can anyone help in this regard?
I have the following scenario,
A class is declared in the header file and has a static member
function sample() in sample.h
sample.cc uses the static member function sample().
the static member function sample() is under conditional compilation
SAMPLE
ifdef SAMPLE
<classname>.sample();
#endif
Now i have set the Macro SAMPLE to false in the Makefile,
SAMPLE=false
and i tried to compile the file sample.cc and it gives an error
saying, static member function() is not defined...
Can anyone help in this regard?