Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Dec 2021 11:38:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 260251] static_assert not defined
Message-ID:  <bug-260251-99-bH1sHpx1HF@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

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbeich@FreeBSD.org
         Resolution|Works As Intended           |DUPLICATE

--- Comment #2 from Jan Beich <jbeich@FreeBSD.org> ---
wlroots itself doesn't use C++, so 14.0-CURRENT was already fixed.
https://www.freebsd.org/releases/14.0R/schedule/ hasn't been populated yet,=
 so
-RELEASE is at least 1 year away.

On older versions one can do something like

  #if defined(__FreeBSD__) && __FreeBSD__ < 14
  #undef _POSIX_C_SOURCE
  #endif

or

  #ifdef __FreeBSD__
  #include <osreldate.h>
  # if __FreeBSD_version < 1400014
  #undef _POSIX_C_SOURCE
  # endif
  #endif

*** This bug has been marked as a duplicate of bug 255290 ***

--=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-bH1sHpx1HF>