error: "." may not appear in macro parameter list?
I have define macro like this
Code:
#define TSMP_PROV_VAL_PRINT_DFT_IN_PARAMS\ error: "." may not appear in macro parameter list. Please help me out urgent |
What is it that you are trying to do? If I had to guess, it appears that you are attempting to declare a macro that can be used to print values of a complex structure.
Would it not be better to merely declare a function that handles the effort of printing the data you require (in the format you require) and have your main macro defined to be a call to that function? |
You need a space between the first backslash and the macro name, otherwise you are defining a macro called TSMP_PROV_VAL_PRINT_DFT_IN_PARAMSTSMP_PRINT_MSISDN with provDet.subsInfo.msisdn as a parameter.
|
All times are GMT -5. The time now is 07:09 PM. |