From owner-svn-src-head@FreeBSD.ORG Mon Jul 14 12:24:38 2014 Return-Path: Delivered-To: svn-src-head@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 9860EE26; Mon, 14 Jul 2014 12:24:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85D862322; Mon, 14 Jul 2014 12:24:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6ECOcxq041941; Mon, 14 Jul 2014 12:24:38 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6ECOcKP041940; Mon, 14 Jul 2014 12:24:38 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201407141224.s6ECOcKP041940@svn.freebsd.org> From: Pietro Cerutti Date: Mon, 14 Jul 2014 12:24:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268619 - head/usr.bin/users X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 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: Mon, 14 Jul 2014 12:24:38 -0000 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. Approved by: cognet Modified: head/usr.bin/users/Makefile Modified: head/usr.bin/users/Makefile ============================================================================== --- head/usr.bin/users/Makefile Mon Jul 14 11:07:43 2014 (r268618) +++ head/usr.bin/users/Makefile Mon Jul 14 12:24:38 2014 (r268619) @@ -3,6 +3,6 @@ WARNS= 3 PROG_CXX= users -CXXFLAGS+= -fno-rtti -fno-exceptions +CXXFLAGS+= -fno-rtti .include