This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problem with macro expansion in GCC


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]