From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: stop using P_, __P in header files Date: Fri, 02 Jul 2010 14:30:04 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1278095420 18083 80.91.229.12 (2 Jul 2010 18:30:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Jul 2010 18:30:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 02 20:30:19 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OUl0C-00081m-Fn for ged-emacs-devel@m.gmane.org; Fri, 02 Jul 2010 20:30:16 +0200 Original-Received: from localhost ([127.0.0.1]:47457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUl0B-0005do-1f for ged-emacs-devel@m.gmane.org; Fri, 02 Jul 2010 14:30:15 -0400 Original-Received: from [199.232.76.173] (port=43799 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUl06-0005cG-8E for emacs-devel@gnu.org; Fri, 02 Jul 2010 14:30:10 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1OUl05-0001fc-3m for emacs-devel@gnu.org; Fri, 02 Jul 2010 14:30:10 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:40967) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1OUl04-0001fX-KT for emacs-devel@gnu.org; Fri, 02 Jul 2010 14:30:08 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OUl00-0003nA-Q8; Fri, 02 Jul 2010 14:30:04 -0400 In-Reply-To: (Andreas Schwab's message of "Fri\, 02 Jul 2010 10\:56\:32 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:126709 Archived-At: Andreas Schwab writes: > Dan Nicolaescu writes: > >> The first step for the transition could be to remove all P_ and __P >> (and maybe other variations) macros in header files. > > Another desired standard C feature would be to use memcpy/memset/memcmp > throughout instead of the non-standard bcopy/bzero/bcmp. I have a patch > for that, but it is incomplete in that it breaks profiling builds. Great! Thanks! BTW, what do you think about having a setup to compile with -flto? Should we do it? How? Or is it too early for that?