Date: Sun, 20 Dec 2015 08:31:43 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 205453] 11.0-CURRENT libcxxrt/guard.cc uses C11's _Static_assert in conditionally-compiled C++ code and when it is used buildworld fails for syntax errors in g++ compilers Message-ID: <bug-205453-8-WIBG8kFtVh@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-205453-8@https.bugs.freebsd.org/bugzilla/> References: <bug-205453-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205453 --- Comment #1 from Mark Millard <markmi@dsl-only.net> --- I should also have noted that clang++ can report the __Static_assert syntax as not-C++ syntax but C11 instead: # clang++ -Wall -pedantic main.cc main.cc:2:1: warning: _Static_assert is a C11-specific feature [-Wc11-extensions] _Static_assert(1,"Test"); ^ 1 warning generated. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205453-8-WIBG8kFtVh>