From owner-svn-src-all@freebsd.org Wed Dec 21 22:02:23 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D9CBC8A316; Wed, 21 Dec 2016 22:02:23 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mailout.stack.nl (mailout05.stack.nl [IPv6:2001:610:1108:5010::202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout.stack.nl", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 272301BE2; Wed, 21 Dec 2016 22:02:23 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mailout.stack.nl (Postfix) with ESMTP id 98F4D32; Wed, 21 Dec 2016 23:02:12 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 1677) id 85B5C28494; Wed, 21 Dec 2016 23:02:12 +0100 (CET) Date: Wed, 21 Dec 2016 23:02:12 +0100 From: Jilles Tjoelker To: Conrad Meyer Cc: Adrian Chadd , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Subject: Re: svn commit: r310138 - head/lib/libc/stdio Message-ID: <20161221220212.GA97256@stack.nl> References: <201612160144.uBG1ipjW016736@repo.freebsd.org> <49460793.UcUNovQMDa@ralph.baldwin.cx> <1482281779.48539.41.camel@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 21 Dec 2016 22:02:23 -0000 On Tue, Dec 20, 2016 at 06:04:31PM -0800, Conrad Meyer wrote: > On Tue, Dec 20, 2016 at 5:56 PM, Adrian Chadd wrote: > > Here's my reason for removal. > > Plenty of us are looking to be able to build bits of the BSD source > > tree as part of other non FreeBSD systems, especially if they're > > involved in bootstrapping. > Understood, however: > > That means that it needs to be compilable > > by a non-FreeBSD-modified compiler. Ideally this means we'd stick to > > mostly POSIX options source code that we can compile with unmodified > > compilers, and we push non-standard stuff into otherly-named > > functions. > Yeah, this isn't actually a problem. printf("%b", foo) compiles fine > with non-modified compilers. It compiles only if you disable format string warnings that should not be disabled for any serious software development, in my humble opinion. It will build, but not in a way I can call "fine". This indeed makes it very hard to justify extensions to format strings. Special formatting will need to use new functions. -- Jilles Tjoelker