From owner-svn-src-head@FreeBSD.ORG Fri Jun 19 11:43:05 2015 Return-Path: Delivered-To: svn-src-head@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 ED6F6318; Fri, 19 Jun 2015 11:43:05 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloud.theravensnest.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B5B1DCF9; Fri, 19 Jun 2015 11:43:04 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from [172.21.60.147] (global-1-84.nat.csx.cam.ac.uk [131.111.184.84]) (authenticated bits=0) by theravensnest.org (8.15.1/8.15.1) with ESMTPSA id t5JBh25a066707 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Jun 2015 11:43:03 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: theravensnest.org: Host global-1-84.nat.csx.cam.ac.uk [131.111.184.84] claimed to be [172.21.60.147] Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: svn commit: r268137 - head/sys/sys From: David Chisnall In-Reply-To: <5583F2C9.1030409@selasky.org> Date: Fri, 19 Jun 2015 12:42:58 +0100 Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <1EB851FC-CA78-4A7B-BE5D-4F050C61A14C@FreeBSD.org> References: <201407020845.s628jRG5031824@svn.freebsd.org> <5BE3492F-86A0-4CE3-A27C-8DB5EB662C64@FreeBSD.org> <5583F2C9.1030409@selasky.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.2098) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 11:43:06 -0000 On 19 Jun 2015, at 11:45, Hans Petter Selasky wrote: >=20 > Appearently this will be fixed in GNUSTEP base: >=20 > = http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/cdefs_elf.h?only_with_tag=3D= MAIN >=20 > Is this still an issue? It is impossible to fix it in GNUstep Base, because we can=E2=80=99t = guarantee that user code doesn=E2=80=99t include system headers after = including GNUstep headers (not to mention the fact that GNUstep is not = the only Objective-C standard library implementation out there). If the = user does, for example: #import #include void example() { __weak id foo =3D bar(); baz(foo); } Then they will get a compile error no matter what GNUstep=E2=80=99s = Foundation.h does. It can=E2=80=99t prevent cdefs.h from redefining = __weak to be something different. I=E2=80=99ve just looked at the GNUstep base changelog since that NetBSD = commit and there are no relevant changes, so I=E2=80=99ve no idea what = the NetBSD people are thinking there. David