From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ADC183858C52; Wed, 4 Jan 2023 13:38:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ADC183858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672839510; bh=bBycjNAs5PnWa2NMMp98xKeFmOBSZzACiJfrqRZRDUI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jEg7cpEq5IhD9wP5Bq8JFWKKYEILl1QAnNx2WMSMFmnZXB7/SuXxL0ucnMicbghub y7su6Tc2UExqgpV8GF+K61/R+12doau230G4iYEv5PkHNMp8/pp+DcnBHFDLYwvave CNTFGwU0MakRj5m7NM4zltJXGJso2YIiQcqNtU5c= From: "redi at gcc dot gnu.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 13:38:30 +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: redi at gcc dot gnu.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 #7 from Jonathan Wakely --- Probably a dup of PR 108225 i.e. expecting --enable-threads=3Dwin32 to prov= ide std::mutex without _WIN32_WINNT >=3D 0x0600 But it isn't provided, because the win32 model doesn't support C++11 thread= ing for ancient versions: /* Condition variables are supported on Vista and Server 2008 or later. */=