[PATCH] Make the compiler do the math 2.

Andreas Schwab schwab@suse.de
Mon Sep 25 19:37:00 GMT 2006


Nick Clifton <nickc@redhat.com> writes:

> 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 ?

#define memcpy(a,b,c) memcpy(a,b,c)

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Binutils mailing list