From owner-svn-src-all@FreeBSD.ORG Fri Jun 19 17:13:14 2015 Return-Path: Delivered-To: svn-src-all@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3145E79B for ; Fri, 19 Jun 2015 17:13:14 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C0BDFBC1 for ; Fri, 19 Jun 2015 17:13:13 +0000 (UTC) (envelope-from joerg@britannica.bec.de) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/auYssSp3lvTo2GWeMw== X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (ip-2-207-127-45.web.vodafone.de [2.207.127.45]) by smtp.strato.de (RZmta 37.7 DYNA|AUTH) with ESMTPSA id a01650r5JHD5Nlz (using TLSv1 with cipher AES256-SHA (256 bits)) (Client did not present a certificate) for ; Fri, 19 Jun 2015 19:13:05 +0200 (CEST) Received: by britannica.bec.de (sSMTP sendmail emulation); Fri, 19 Jun 2015 19:13:05 +0200 Date: Fri, 19 Jun 2015 19:13:05 +0200 From: Joerg Sonnenberger To: svn-src-all@freebsd.org Subject: Re: svn commit: r268137 - head/sys/sys Message-ID: <20150619171305.GA22509@britannica.bec.de> References: <201407020845.s628jRG5031824@svn.freebsd.org> <5BE3492F-86A0-4CE3-A27C-8DB5EB662C64@FreeBSD.org> <5583F2C9.1030409@selasky.org> <1EB851FC-CA78-4A7B-BE5D-4F050C61A14C@FreeBSD.org> <558403C4.4040500@selasky.org> <55841BF3.8010205@selasky.org> <74BE6DD6-1C0F-4E59-8913-CFCE7DD744CB@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <74BE6DD6-1C0F-4E59-8913-CFCE7DD744CB@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 17:13:14 -0000 On Fri, Jun 19, 2015 at 03:22:49PM +0100, David Chisnall wrote: > > NetBSD: > > > sys/cdefs_elf.h > > #define __weak __attribute__((__weak__)) > > > > FreeBSD: > > > sys/cdefs.h > > #define __weak __attribute__((__weak__)) > > NetBSD is the only system that I’m aware of that has actually shipped > this, and it broke a lot of things. "A lot of things"? Let's keep a sense of proportion: it broke exactly one thing and that's gnustep. This isn't the first time that Apple's language extension broke system headers either, see __block and glibc. Objective C has no more ownership of "__weak" than the OS has and the common style of header keywords is actually a much stronger reason *against* the pseudo-keyword use in Objective C. Joerg