This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L
- From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Jan 2012 20:13:08 +0000
- Subject: [Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L
- Auto-submitted: auto-generated
- References: <bug-51705-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705
--- Comment #33 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2012-01-09 20:13:08 UTC ---
On Fri, Jan 06, 2012 at 04:14:08PM +0000, bkorb at gnu dot org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705
>
> --- Comment #32 from bkorb at gnu dot org 2012-01-06 16:14:08 UTC ---
> (In reply to comment #29)
> > + c_fix_arg = "__attribute__\(\(__noreturn__\)\)";
>
> In a double quoted string, the backslash quotes always quote
> the character that follows. Here, it yields a noop, which
> is fine because the "c-fix-arg" is scanned for "%1" type markers,
> not regular expressions.
>
I used your patch with the above __attribute__ line. I was
able to boostrap GCC on FreeBSD 10 without a hitch. Can you
please commit your patch with the above change?