Date: Mon, 06 Dec 2021 11:18:50 +0000 From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 260251] static_assert not defined Message-ID: <bug-260251-99-JRONU8WxZq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-260251-99@https.bugs.freebsd.org/bugzilla/> References: <bug-260251-99@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=3D260251 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended Status|New |Closed CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> --- C and C++ are different languages. You are using C standard to request C++ feature that is explicitly disallowed by C++ standard: from ISO/IEC 14882:2017(E) 22.3.1 Header <cassert> synopsis [cassert.syn] #define assert(E) see below 1 The contents are the same as the C standard library header <assert.h>, except that a macro named static_assert is not de=EF=AC=81ned. --=20 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-260251-99-JRONU8WxZq>