From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24099 invoked by alias); 25 Sep 2006 19:24:09 -0000 Received: (qmail 24086 invoked by uid 22791); 25 Sep 2006 19:24:08 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 25 Sep 2006 19:24:04 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id D86161FBFE; Mon, 25 Sep 2006 21:24:00 +0200 (CEST) From: Andreas Schwab To: Nick Clifton Cc: Pedro Alves , binutils@sourceware.org Subject: Re: [PATCH] Make the compiler do the math 2. References: <4505CF00.6060805@portugalmail.pt> <450699FB.7090101@portugalmail.pt> <450C3F60.50209@redhat.com> <451804CD.5070008@redhat.com> X-Yow: Is this an out-take from the ``BRADY BUNCH''? Date: Mon, 25 Sep 2006 19:37:00 -0000 In-Reply-To: <451804CD.5070008@redhat.com> (Nick Clifton's message of "Mon, 25 Sep 2006 17:33:17 +0100") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00275.txt.bz2 Nick Clifton 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."