From 2d2187338e923e7d2cf38d500c50603459addd59 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Mon, 14 Jul 2014 12:24:38 +0000 Subject: [PATCH] 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 --- usr.bin/users/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/users/Makefile b/usr.bin/users/Makefile index 1bf0edfdebfe..dd04a112b2a8 100644 --- a/usr.bin/users/Makefile +++ b/usr.bin/users/Makefile @@ -3,6 +3,6 @@ WARNS= 3 PROG_CXX= users -CXXFLAGS+= -fno-rtti -fno-exceptions +CXXFLAGS+= -fno-rtti .include