problem with macro expansion in GCC

Dhanabal Ekambaram Dhanabal@Zambeel.com
Mon Feb 5 19:06:00 GMT 2001


Hi,

When I use

#define XXX(N)  N.ptr

XXX(y) gets transformed to " y.ptr" instead of "y.ptr".
I am not sure why i am getting this leading space in the expanded string.

Can anybody help me to eliminate this problem?

Thanks,
dhanabal


More information about the Gcc-help mailing list