Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jun 2023 16:49:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271808] -D_POSIX_C_SOURCE=200809L shadows visibility om M_PI gtom math.h
Message-ID:  <bug-271808-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271808

            Bug ID: 271808
           Summary: -D_POSIX_C_SOURCE=200809L shadows visibility om M_PI
                    gtom math.h
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

This testcase fails with -D_POSIX_C_SOURCE=200809L:

#include <math.h>
#include <stdio.h>


int main() {
        printf("M_PI=%f\n", M_PI);
}

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271808-227>