Hi,
Patch in attachments.
Tested on x86_64-linux-gnu.
--
Regards, niXman
___
C++ for Bitcoins: github.com/niXman
Index: libstdc++-v3/include/ext/string_conversions.h
Jonathan Wakely 2018-07-20 13:05:
On 20/07/18 12:44 +0300, niXman wrote:
Thanks. How did you verify it's an optimization?
Optimization is that there is no superfluous copying into string.
The to_string functions always pass at least __n=16 to __to_xstring,
which is larger than th
Hi,
Tested on i686/x86_64-MinGW-W64
Please test possible regressions on posix platform.
--
Regards, niXman
___
Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows:
https://sf.net/p/mingw-w64/
Index: libstdc++-v3
niXman 2017-02-12 20:28:
Hi,
Tested on i686/x86_64-MinGW-W64
Please test possible regressions on posix platform.
As continuation for:
https://gcc.gnu.org/ml/libstdc++/2017-02/msg00041.html
Regression on posix platform was fixed.
Tested on i686/x86_64-MinGW-W64 and x86_64-linux-gnu
-//wrong_protocol_type =EPROTOTYPE
+ wrong_protocol_type =EPROTOTYPE
};
_GLIBCXX_END_NAMESPACE_VERSION
--
Regards, niXman
___
Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows:
Hi,
A few days ago I sent a patch to libstdc++-v3[1], but the patch is still
not applied. Why?
Moreover, when I try to ping this thread my messages are returned to
sender. Why?
[1] https://gcc.gnu.org/ml/gcc-patches/2016-10/msg00567.html
--
Regards, niXman
Jonathan Wakely 2016-12-16 16:04:
I don't think this is suitable for the branches, but could be applied
to trunk (as the patch was posted during stage 1, but I missed it).
Ok.
Does this require a particular version of MinGW-w64?
Yes, at the moment MinGW-W64 trunk is required. (MinGW-W64-v6)
Hi all.
This is patch is implement the std::thread::hardware_concurrency().
Tested on pthreads-win32/winpthreads on windows OS, and on Linux/FreeBSD.
diff --git a/libstdc++-v3/src/thread.cc b/libstdc++-v3/src/thread.cc
index 09e7fc5..3eacb06 100644
--- a/libstdc++-v3/src/thread.cc
+++ b/libstd
Rechecked.
diff --git a/libstdc++-v3/src/thread.cc b/libstdc++-v3/src/thread.cc
index 09e7fc5..6feda4d 100644
--- a/libstdc++-v3/src/thread.cc
+++ b/libstdc++-v3/src/thread.cc
@@ -112,10 +112,20 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
unsigned int
thread::hardware_concurrency() noexcept
{
-
With what exactly do you don't accept this patch?
2011/11/1 Jonathan Wakely :
> On 1 November 2011 11:54, Marc Glisse wrote:
>> On Tue, 1 Nov 2011, niXman wrote:
>>
>>> diff --git a/libstdc++-v3/src/thread.cc b/libstdc++-v3/src/thread.cc
>>> index 09e7fc5.
> What header is required for pthread_num_processors_np?
pthread.h
> Also, you should include before calling sysctlbyname.
On the right - yes.
sysctlbyname() implicitly included in some header files.
Ok. I correct it.
2011/11/1 Jonathan Wakely :
> I've put gcc-patches@ back in the CC list and removed gcc@
>
>
> On 1 November 2011 15:35, niXman wrote:
>>> Er, the macro _GLIBCXX_NPROCS already handles
>>> the case sysconf(_SC_NPROCESSORS_ONLN).
>>> I
I am currently working on a patch for OpenBSD.I wrote a some autoconf
tests for mingw/*BSD.
2011/11/7 Jonathan Wakely :
> I'm testing my suggestion on a netbsd machine, I'd be grateful for
> darwin testing once I've committed it, which I expect to be later
> today.
>
Hello.
--
Regards,
niXman
libitm-mingw-detect.diff
Description: Binary data
14 matches
Mail list logo