From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10386 invoked by alias); 1 May 2010 06:07:50 -0000 Received: (qmail 10373 invoked by uid 22791); 1 May 2010 06:07:49 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 01 May 2010 06:07:43 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L1Q00F008V3Y200@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Sat, 01 May 2010 09:06:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.59.39]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L1Q00DMD8Z86OA0@a-mtaout20.012.net.il>; Sat, 01 May 2010 09:06:45 +0300 (IDT) Date: Sat, 01 May 2010 06:07:00 -0000 From: Eli Zaretskii Subject: Re: `sentinel' gcc-3.x/OpenBSD compat. [Re: [patch 1/3] Make obconcat use stdarg] In-reply-to: <20100430221839.GA21100@host0.dyn.jankratochvil.net> To: Jan Kratochvil Cc: mark.kettenis@xs4all.nl, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83eihww3yg.fsf@gnu.org> References: <20100430181605.GA19190@host0.dyn.jankratochvil.net> <201004301908.o3UJ8mGf006742@glazunov.sibelius.xs4all.nl> <20100430221839.GA21100@host0.dyn.jankratochvil.net> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-05/txt/msg00001.txt.bz2 > Date: Sat, 1 May 2010 00:18:39 +0200 > From: Jan Kratochvil > Cc: gdb-patches@sourceware.org > > > I'm afraid you'll need an explicit cast for the NULLs used as the > > sentinel value, otherwise platforms that > > > > #define NULL 0L > > > > will generate warnings like: > > > > sentinel.c: In function 'foo': > > sentinel.c:8: warning: missing sentinel in function call > > > > and with -Werror, that's not a good :(. > > Which platforms? DJGPP (a.k.a. GO32) is one.