From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9771 invoked by alias); 8 Aug 2004 12:23:42 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9764 invoked from network); 8 Aug 2004 12:23:41 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (213.93.77.109) by sourceware.org with SMTP; 8 Aug 2004 12:23:41 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i78CNPoa003322; Sun, 8 Aug 2004 14:23:25 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i78CNPSP015011; Sun, 8 Aug 2004 14:23:25 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6/Submit) id i78CNOtl015008; Sun, 8 Aug 2004 14:23:24 +0200 (CEST) Date: Sun, 08 Aug 2004 12:23:00 -0000 Message-Id: <200408081223.i78CNOtl015008@elgar.kettenis.dyndns.org> From: Mark Kettenis To: Peter.Schauer@mytum.de CC: brobecker@gnat.com, gdb-patches@sources.redhat.com, cagney@redhat.com, kevinb@redhat.com In-reply-to: <200408080739.i787dPN4002116@licht.localdomain> (message from Peter Schauer on Sun, 8 Aug 2004 09:39:25 +0200 (CEST)) Subject: Re: [RFC/AIX] xm-aix4.h - Remove alloca #pragma References: <200408080739.i787dPN4002116@licht.localdomain> X-SW-Source: 2004-08/txt/msg00245.txt.bz2 From: Peter Schauer Date: Sun, 8 Aug 2004 09:39:25 +0200 (CEST) Could you please try to include malloc.h instead ? Including malloc.h is a bad idea. Many modern systems have a #warning in that file, which would kill -Werror compilation. Anyway. The whole alloca mess is pretty well sorted out in autoconf. There is an AC_FUNC_ALLOCA macro and we're calling it in our configure.in. The necessary glue, include the #pragma alloca is in defs.h (although it is arranges a little differently than the autoconf manual suggests). So I really think we can just scrap it. Mark