Hi all,
I have a macro function defined as follows in xx.h:
Then I used this function in another cpp file and got the following error when built:Code:int swap_tmp_int; #define INT_SWAP(X,Y) swap_tmp_int=X; X=Y; Y=swap_tmp_int;
"swap_tmp_int first defined here" Please kindly suggest.
Thank you,
Eric




Reply With Quote