Re: [PATCH] libstdc++: Implement std::chrono::current_zone() for Windows

2025-07-14 Thread Jonathan Wakely
On Mon, 14 Jul 2025 at 16:52, Tomasz Kaminski wrote: > > > > On Mon, Jul 14, 2025 at 1:47 PM Jonathan Wakely wrote: >> >> On Mon, 14 Jul 2025 at 11:10, Jonathan Wakely wrote: >> > >> > On Mon, 14 Jul 2025 at 11:08, Björn Schäpers wrote: >> > > >> > > Am 14.07.2025 um 10:20 schrieb Tomasz Kamins

Re: [PATCH] libstdc++: Implement std::chrono::current_zone() for Windows

2025-07-14 Thread Tomasz Kaminski
On Mon, Jul 14, 2025 at 1:47 PM Jonathan Wakely wrote: > On Mon, 14 Jul 2025 at 11:10, Jonathan Wakely wrote: > > > > On Mon, 14 Jul 2025 at 11:08, Björn Schäpers wrote: > > > > > > Am 14.07.2025 um 10:20 schrieb Tomasz Kaminski: > > > > > > > > > > > > On Tue, Jul 8, 2025 at 10:48 PM Björn Sch

Re: [PATCH] libstdc++: Implement std::chrono::current_zone() for Windows

2025-07-14 Thread Jonathan Wakely
On Mon, 14 Jul 2025 at 11:10, Jonathan Wakely wrote: > > On Mon, 14 Jul 2025 at 11:08, Björn Schäpers wrote: > > > > Am 14.07.2025 um 10:20 schrieb Tomasz Kaminski: > > > > > > > > > On Tue, Jul 8, 2025 at 10:48 PM Björn Schäpers wrote: > > > + const auto raw_index = information.Bias

Re: [PATCH] libstdc++: Implement std::chrono::current_zone() for Windows

2025-07-14 Thread Jonathan Wakely
On Mon, 14 Jul 2025 at 11:08, Björn Schäpers wrote: > > Am 14.07.2025 um 10:20 schrieb Tomasz Kaminski: > > > > > > On Tue, Jul 8, 2025 at 10:48 PM Björn Schäpers > > wrote: > > > > From: Björn Schäpers mailto:bjo...@hazardy.de>> > > > > I have based this on my pre

Re: [PATCH] libstdc++: Implement std::chrono::current_zone() for Windows

2025-07-14 Thread Björn Schäpers
Am 14.07.2025 um 10:20 schrieb Tomasz Kaminski: On Tue, Jul 8, 2025 at 10:48 PM Björn Schäpers > wrote: From: Björn Schäpers mailto:bjo...@hazardy.de>> I have based this on my previous (not yet landed) patch, but it only reuses the #ifdef to include . Sinc

Re: [PATCH] libstdc++: Implement std::chrono::current_zone() for Windows

2025-07-14 Thread Tomasz Kaminski
On Tue, Jul 8, 2025 at 10:48 PM Björn Schäpers wrote: > From: Björn Schäpers > > I have based this on my previous (not yet landed) patch, but it only > reuses the #ifdef to include . Since std::array isn't used > anywhere else I thought that was the right place to put it. > > I hope the formatti

Re: [PATCH] libstdc++: Implement std::chrono::current_zone() for Windows

2025-07-10 Thread Jonathan Wakely
On Wed, 9 Jul 2025 at 20:21, Björn Schäpers wrote: > > Am 09.07.2025 um 16:16 schrieb Jonathan Wakely: > > On Wed, 9 Jul 2025 at 15:13, Jonathan Wakely wrote: > >> > >> On Tue, 8 Jul 2025 at 21:47, Björn Schäpers wrote: > >>> index 9923d14b7a7..bfbba077b92 100644 > >>> --- a/libstdc++-v3/src/c++2

Re: [PATCH] libstdc++: Implement std::chrono::current_zone() for Windows

2025-07-09 Thread Björn Schäpers
Am 09.07.2025 um 16:16 schrieb Jonathan Wakely: On Wed, 9 Jul 2025 at 15:13, Jonathan Wakely wrote: On Tue, 8 Jul 2025 at 21:47, Björn Schäpers wrote: From: Björn Schäpers I have based this on my previous (not yet landed) patch, but it only reuses the #ifdef to include . Since std::array

Re: [PATCH] libstdc++: Implement std::chrono::current_zone() for Windows

2025-07-09 Thread Jonathan Wakely
On Wed, 9 Jul 2025 at 15:13, Jonathan Wakely wrote: > > On Tue, 8 Jul 2025 at 21:47, Björn Schäpers wrote: > > > > From: Björn Schäpers > > > > I have based this on my previous (not yet landed) patch, but it only > > reuses the #ifdef to include . Since std::array isn't used > > anywhere else I

Re: [PATCH] libstdc++: Implement std::chrono::current_zone() for Windows

2025-07-09 Thread Jonathan Wakely
On Tue, 8 Jul 2025 at 21:47, Björn Schäpers wrote: > > From: Björn Schäpers > > I have based this on my previous (not yet landed) patch, but it only > reuses the #ifdef to include . Since std::array isn't used > anywhere else I thought that was the right place to put it. > > I hope the formatting

[PATCH] libstdc++: Implement std::chrono::current_zone() for Windows

2025-07-08 Thread Björn Schäpers
From: Björn Schäpers I have based this on my previous (not yet landed) patch, but it only reuses the #ifdef to include . Since std::array isn't used anywhere else I thought that was the right place to put it. I hope the formatting is okay. I've used wide strings for the Windows zone name and te