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 /lib/libc | |
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 'lib/libc')
0 files changed, 0 insertions, 0 deletions