From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18198 invoked by alias); 4 Feb 2006 10:33:28 -0000 Received: (qmail 18185 invoked by uid 22791); 4 Feb 2006 10:33:28 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 04 Feb 2006 10:33:26 +0000 Received: from HOME-C4E4A596F7 (IGLD-83-130-205-46.inter.net.il [83.130.205.46]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DMK69308 (AUTH halo1); Sat, 4 Feb 2006 12:33:12 +0200 (IST) Date: Sat, 04 Feb 2006 10:33:00 -0000 Message-Id: From: Eli Zaretskii To: Jim Blandy CC: gdb-patches@sourceware.org In-reply-to: <8f2776cb0602032229i5a55962eq948eeec5fcd5b4c0@mail.gmail.com> (message from Jim Blandy on Fri, 3 Feb 2006 22:29:26 -0800) Subject: Re: RFA: Support Windows extended error numbers in safe_strerror Reply-to: Eli Zaretskii References: <20060203215455.GA3501@nevyn.them.org> <200602032325.k13NPJ6g028001@elgar.sibelius.xs4all.nl> <20060203233935.GA13238@trixie.casa.cgf.cx> <20060204032730.GB9890@nevyn.them.org> <8f2776cb0602032229i5a55962eq948eeec5fcd5b4c0@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00064.txt.bz2 > Date: Fri, 3 Feb 2006 22:29:26 -0800 > From: Jim Blandy > > A macro that takes documented arguments and is expected not to > randomly refer to stuff from its context is a big improvement for > me. The problem with a macro is where to define it. We previously defined them on the various *.mt and *.mh files, but now we are trying to eliminate those. And the code we are talking about is unsuitable for the configury stuff, since it is quite long. So I think, in practice, in this case a macro is not a good solution, except if it names a function whose implementation is elsewhere.