public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "nightstrike at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/113516] New: POLLPRI redefined on windows building ada Date: Sat, 20 Jan 2024 05:18:50 +0000 [thread overview] Message-ID: <bug-113516-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113516 Bug ID: 113516 Summary: POLLPRI redefined on windows building ada Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com CC: dkm at gcc dot gnu.org Target Milestone: --- g:r11-4313-gd08d481912b9a2 defined POLLPRI to zero on Windows, stating in the commit message "Define POLLPRI as zero on Windows as it is not supported there." However, it is defined on mingw-w64 targets, resulting in a build warning: /tmp/gcc/src/gcc-git/gcc/ada/s-oscons-tmplt.c:1871:9: warning: "POLLPRI" redefined 1871 | #define POLLPRI 0 | ^~~~~~~ In file included from /tmp/gcc/src/gcc-git/gcc/ada/gsocket.h:83, from /tmp/gcc/src/gcc-git/gcc/ada/s-oscons-tmplt.c:103: /tmp/rt/mingw14/x86_64-w64-mingw32/include/winsock2.h:1182:9: note: this is the location of the previous definition 1182 | #define POLLPRI 0x0400 | ^~~~~~~
next reply other threads:[~2024-01-20 5:18 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-01-20 5:18 nightstrike at gmail dot com [this message] 2024-02-03 11:24 ` [Bug ada/113516] macro POLLPRI redefined during GNAT build ebotcazou at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-113516-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).