diff options
author | gahr <gahr@FreeBSD.org> | 2014-07-14 12:24:38 +0000 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2014-07-14 12:24:38 +0000 |
commit | e896978a89ed4c7197289b14491cd046e56d2149 (patch) | |
tree | dc1fb06c3beb2b9315c2146db23be6a133a01c6d /usr.bin | |
parent | 7eb2d27b75eaa18247aa3a67c2727350e2029a88 (diff) | |
download | FreeBSD-src-e896978a89ed4c7197289b14491cd046e56d2149.zip FreeBSD-src-e896978a89ed4c7197289b14491cd046e56d2149.tar.gz |
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
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/users/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/users/Makefile b/usr.bin/users/Makefile index 1bf0edf..dd04a11 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 <bsd.prog.mk> |