From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16636 invoked by alias); 21 Apr 2011 10:22:10 -0000 Received: (qmail 16626 invoked by uid 22791); 21 Apr 2011 10:22:09 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 Apr 2011 10:21:56 +0000 Received: (qmail 12678 invoked from network); 21 Apr 2011 10:21:55 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 21 Apr 2011 10:21:55 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1QCr1F-00036r-W8; Thu, 21 Apr 2011 10:21:53 +0000 Date: Thu, 21 Apr 2011 10:22:00 -0000 From: "Joseph S. Myers" To: Nick Clifton cc: Tristan Gingold , binutils Subject: Re: [patch] Convert coff-rs6000.c to iso-c In-Reply-To: <4DAC3D3A.7090106@redhat.com> Message-ID: References: <49F283B4-757D-4BFF-9FCB-94097A486783@adacore.com> <4DAC3D3A.7090106@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00306.txt.bz2 On Mon, 18 Apr 2011, Nick Clifton wrote: > PS. If you are going to do more of these you might also like to replace > occurrences of the PTR macro with "void *". How about declaring all the macros in ansidecl.h that are for pre-C90 compatibility obsolete and removing their definitions once all uses in the gcc and src repositories are gone? That's ANSI_PROTOTYPES PTR PTRCONST LONG_DOUBLE PARAMS VPARAMS VA_START VA_OPEN VA_CLOSE VA_FIXEDARG CONST VOLATILE SIGNED PROTO EXFUN DEFUN DEFUN_VOID AND DOTS NOARGS (plus definitions as macros of const volatile signed). Some of these macros may already have been eliminated (GCC's system.h poisons eight of them, for example, and some more are not defined if IN_GCC) and despite the comments on ansidecl.h claiming to be from the GNU C Library, the glibc copy was removed in 1997 so it's purely a libiberty header now. -- Joseph S. Myers joseph@codesourcery.com