From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10001 invoked by alias); 27 Apr 2011 18:54:43 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29097 Received: (qmail 27401 invoked from network); 27 Apr 2011 18:54:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 74.125.83.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zPfonF4vnSSYlBi+6KZbNI0SaSurWZn31F2mS25z1ec=; b=xJmmUDNcfvooWqjBmjjJXVZUqnsIfwCRZEH+StTK/0WoVTxJbZgTAzaAHSB9MyCO0m 5bT7XQbQ/5SU0dQpZnW7eCF/zwsjuaLjFc+6LopStvxu5R+YR3AoO1H2QIrD8TX3nitF QNv1I7f6sPYld3ZboKJCIJTcPDIfaExM7pFD4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=RdFot+KiTEVWubS61+ti8D5FoOP016RbVIX/LjV+pY9ZpjacoS1MSk24eBC6GbE2pM RHSrrUbfBms29aVtJ5ANoL8CKPOR6Ps8sbAB1LuqkjeEvkv/lNmzX0xgbdP8o4trw8Zj cpGSgDFF01yEW/1J2uXJoxoUq9jU0LqehiKm0= MIME-Version: 1.0 Sender: 4wayned@gmail.com In-Reply-To: References: Date: Wed, 27 Apr 2011 11:54:36 -0700 X-Google-Sender-Auth: ZHlYLs-9ixeL0IgTP41AHDfhE8g Message-ID: Subject: Re: [PATCH] Compilation fix for AIX (missing consts) From: Wayne Davison To: =?UTF-8?B?SsOpcsOpbWllIFJvcXVldA==?= Cc: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2011/4/27 J=C3=A9r=C3=A9mie Roquet : > That's from the man for Linux and FreeBSD and from the source for AIX. In Linux they now have the extra "const"s in the include files, though not in the man pages. > Yes, it's conflicting with the available header. So, where are those defined in your /usr/include files? The best fix is to avoid manual prototypes on systems that have them already defined. So we should work out a rule that avoids including that section on AIX. What do the various TERM vars get defined as in config.h? ..wayne..