From owner-svn-src-all@FreeBSD.ORG Mon Jul 14 13:03:38 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D51E59F; Mon, 14 Jul 2014 13:03:38 +0000 (UTC) Received: from mailrelay002.isp.belgacom.be (mailrelay002.isp.belgacom.be [195.238.6.175]) by mx1.freebsd.org (Postfix) with ESMTP id 9CCD5266D; Mon, 14 Jul 2014 13:03:36 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmwGAF/Uw1NbsKzB/2dsb2JhbABZgw5STcFdh0MBgRUXdYQEAQUnExwjEAsOBgQJJQ8qHgaIWQEIx2wXj0sHhEMBBJsNgUuSVINGOw Received: from 193.172-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.172.193]) by relay.skynet.be with ESMTP; 14 Jul 2014 15:02:27 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id s6ED2Qnc041662; Mon, 14 Jul 2014 15:02:27 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Mon, 14 Jul 2014 15:02:26 +0200 From: Tijl Coosemans To: Pietro Cerutti Subject: Re: svn commit: r268619 - head/usr.bin/users Message-ID: <20140714150226.2d534e6a@kalimero.tijl.coosemans.org> In-Reply-To: <201407141224.s6ECOcKP041940@svn.freebsd.org> References: <201407141224.s6ECOcKP041940@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 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: Mon, 14 Jul 2014 13:03:38 -0000 On Mon, 14 Jul 2014 12:24:38 +0000 (UTC) Pietro Cerutti wrote: > Author: gahr (ports committer) > Date: Mon Jul 14 12:24:38 2014 > New Revision: 268619 > URL: http://svnweb.freebsd.org/changeset/base/268619 > > Log: > Unbreak the build by re-enabling exceptions. > > Disabling them breaks build on archs using GCC. The problem is at line 156 of > bits/basic_ios.h: > > if (this->exceptions() & __state) > __throw_exception_again; > > With exceptions disabled __throw_exception_again is defined as > > #define __throw_exception_again > > at line 45 of exception_defines.h and the code results in an empty loop body, > which fails because of -Werror. Maybe define it as ((void)0) instead?