This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make the compiler do the math 2.


Hi Andreas,

You can't use STRING_COMMA_LEN as part of a function call because it may
be a macro:

../../bfd/elflink.c:10069:47: error: macro "memcpy" requires 3 arguments, but only 2 given

Hmm, can you tell me how I can reproduce this please ? (I agree that STRING_COMMA_LEN will not work if used inside another macro, but I have not come across a situation where mempcy is a macro).


Cheers
  Nick



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