[Bug 271808] -D_POSIX_C_SOURCE=200809L shadows visibility of M_PI from math.h

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 Jun 2023 08:04:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271808

Tijl Coosemans <tijl@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tijl@FreeBSD.org

--- Comment #2 from Tijl Coosemans <tijl@FreeBSD.org> ---
M_PI is part of XSI.  You need to compile with -D_XOPEN_SOURCE=700 if you want
POSIX 2008 with XSI.

-- 
You are receiving this mail because:
You are the assignee for the bug.