From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F1C063858D35; Wed, 4 Jan 2023 14:06:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F1C063858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672841198; bh=vZiQeX51unYpeuuTgRftTBSEq+oy85Fu0fAoi4c0bYg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pkcqlpR7+TZsCdQx/i6vb4WjRhN+LZZzlFhfMD8xLtBH1fqRK7nrzlnBwFFVyN8XW 2b6jNkksRX4ao7+yOSQdEYrMHQDn3mr6A6HVcBf9nssjgSEBkOrirTebW0OvCcKR7h 0QGIWFlsIkaZc+tKIzTkj80SrzP6KyIXrdMocjqI= From: "i.nixman at autistici dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/108210] error: 'mutex' does not name a type; did you mean 'minutes'? for x86_64-w64-mingw32 target with win32 thread model Date: Wed, 04 Jan 2023 14:06:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: i.nixman at autistici dot org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108210 --- Comment #8 from niXman --- (In reply to Jonathan Wakely from comment #7) > Probably a dup of PR 108225 i.e. expecting --enable-threads=3Dwin32 to pr= ovide > std::mutex without _WIN32_WINNT >=3D 0x0600 yep, sure! > But it isn't provided, because the win32 model doesn't support C++11 > threading for ancient versions: >=20 > /* Condition variables are supported on Vista and Server 2008 or later. = */ right. it's strange that the same person posted the same issue twice on two diff B= R...=