From owner-cvs-all@FreeBSD.ORG Thu Mar 3 15:15:39 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B74E16A4CE; Thu, 3 Mar 2005 15:15:39 +0000 (GMT) Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25B7043D39; Thu, 3 Mar 2005 15:15:38 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd28.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1D6s36-00052B-03; Thu, 03 Mar 2005 16:15:36 +0100 Received: from Andro-Beta.Leidinger.net (bpq6wEZSoel0BE2pYiCbH5-FfOJqVHiAyRa35gf1QabbyVfFr49psr@[217.83.23.1]) by fwd28.sul.t-online.de with esmtp id 1D6s2y-1kgzZY0; Thu, 3 Mar 2005 16:15:28 +0100 Received: from localhost (localhost [127.0.0.1])j23FEaTi097066; Thu, 3 Mar 2005 16:14:36 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.32 ([141.113.101.32]) by netchild.homeip.net (Horde) with HTTP for ; Thu, 3 Mar 2005 16:14:36 +0100 Message-ID: <20050303161436.0cczcopocg84g4ks@netchild.homeip.net> X-Priority: 3 (Normal) Date: Thu, 3 Mar 2005 16:14:36 +0100 From: Alexander Leidinger To: Joerg Wunsch References: <200503022133.j22LXTih011115@repoman.freebsd.org> In-Reply-To: <200503022133.j22LXTih011115@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.2) / FreeBSD-4.11 X-ID: bpq6wEZSoel0BE2pYiCbH5-FfOJqVHiAyRa35gf1QabbyVfFr49psr@t-dialin.net X-TOI-MSGID: fee5cc77-601e-4302-8434-478970fc52eb cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/alpha/include _types.h atomic.h cpufunc.h limits.h stdarg.h varargs.h src/sys/amd64/amd64 fpu.c... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 15:15:39 -0000 Joerg Wunsch wrote: > Log: > netchild's mega-patch to isolate compiler dependencies into a central > place. Thank you. > This moves the dependency on GCC's and other compiler's features into > the central sys/cdefs.h file, while the individual source files can > then refer to #ifdef __COMPILER_FEATURE_FOO where they by now used to > refer to #if __GNUC__ > 3.1415 && __BARC__ <= 42. I haven't converted compat/* files. Also not converted are files which got __GNUC__ dependencies in the last month. I try to get time to scan for them. New code shouldn't use __GNUC__ anymore off course. If cdefs.h doesn't contain a define which fits your needs, add a new one please. > Reviewed by: various developers on arch@, some time ago We wheren't happy about the names of the defines, but we wheren't able to come up with better ones. So in case you're not happy with the names used feel free to come up with better ones (I don't intend to participate in such a discussion). The patch works for me since a year without any problem, but I don't have every hardware which is touched by this commit. So no guarantees that it won't eat your family. :-) Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 I am not now and never have been a girl friend of Henry Kissinger. -- Gloria Steinem