[Mingw-w64-public] InterlockedIncrement boost (yes, again) -What's the right answer here?

2013-07-20 Thread dw
So, Erik was kind enough to try re-running some of his builds with the latest patches to winbase.h. With a bit of tweaking to the patch, x86 now builds. While I haven't checked it in yet, these DLLIMPORT things are fixed. Unfortunately, x64 does not build correctly. If you want to see the

Re: [Mingw-w64-public] InterlockedIncrement boost (yes, again) -What's the right answer here?

2013-07-20 Thread Erik van Pienbroek
dw schreef op za 20-07-2013 om 02:07 [-0700]: An argument could be made that we have broken backward compatibility and it's our responsibility to fix it. On the other hand, one could say they are using our library incorrectly (by not including any of our headers), and the fact that it

Re: [Mingw-w64-public] Interlocked* patches follow-up

2013-07-20 Thread Jacek Caban
On 07/18/13 23:43, dw wrote: I can confirm that with GCC 4.9. In cause of our headers, it always chooses inline version, which is good. That is the best possible outcome. For this particular situation. But it's possible that's not always the case. What with normal implementations, inline

Re: [Mingw-w64-public] InterlockedIncrement boost (yes, again) -What's the right answer here?

2013-07-20 Thread Jacek Caban
On 07/20/13 12:22, Erik van Pienbroek wrote: dw schreef op za 20-07-2013 om 02:07 [-0700]: An argument could be made that we have broken backward compatibility and it's our responsibility to fix it. On the other hand, one could say they are using our library incorrectly (by not including any

Re: [Mingw-w64-public] InterlockedIncrement boost (yes, again) -What's the right answer here?

2013-07-20 Thread Ruben Van Boxem
2013/7/20 dw limegreenso...@yahoo.com So, Erik was kind enough to try re-running some of his builds with the latest patches to winbase.h. With a bit of tweaking to the patch, x86 now builds. While I haven't checked it in yet, these DLLIMPORT things are fixed. Unfortunately, x64 does not

[Mingw-w64-public] Change of SF.net file tree

2013-07-20 Thread Ruben Van Boxem
Hi, Although I am not strictly against it, it seems the MinGW-w64 files tree has dramatically changed, invalidating any old links to files. I'd appreciate if something like this happens, the person making the change notifies this list. Unless I missed the message (which is possible), this did

Re: [Mingw-w64-public] Change of SF.net file tree

2013-07-20 Thread Ozkan Sezer
On Sat, Jul 20, 2013 at 4:58 PM, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: Hi, Although I am not strictly against it, it seems the MinGW-w64 files tree has dramatically changed, invalidating any old links to files. I'd appreciate if something like this happens, the person making the

Re: [Mingw-w64-public] Change of SF.net file tree

2013-07-20 Thread Ruben Van Boxem
2013/7/20 Ozkan Sezer seze...@gmail.com On Sat, Jul 20, 2013 at 4:58 PM, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: Hi, Although I am not strictly against it, it seems the MinGW-w64 files tree has dramatically changed, invalidating any old links to files. I'd appreciate if

Re: [Mingw-w64-public] Change of SF.net file tree

2013-07-20 Thread Ozkan Sezer
On Sat, Jul 20, 2013 at 5:24 PM, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: 2013/7/20 Ozkan Sezer seze...@gmail.com On Sat, Jul 20, 2013 at 4:58 PM, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: Hi, Although I am not strictly against it, it seems the MinGW-w64 files tree has

Re: [Mingw-w64-public] Change of SF.net file tree

2013-07-20 Thread Adrien Nader
Hi, On Sat, Jul 20, 2013, Ruben Van Boxem wrote: Hi, Although I am not strictly against it, it seems the MinGW-w64 files tree has dramatically changed, invalidating any old links to files. I'd appreciate if something like this happens, the person making the change notifies this list.

Re: [Mingw-w64-public] Change of SF.net file tree

2013-07-20 Thread Earnie Boyd
On Sat, Jul 20, 2013 at 10:15 AM, Ozkan Sezer wrote: On Sat, Jul 20, 2013 at 4:58 PM, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: Hi, Although I am not strictly against it, it seems the MinGW-w64 files tree has dramatically changed, invalidating any old links to files. I'd appreciate

[Mingw-w64-public] Any color on not-so-long long doubles (about 18 decimal digits)?

2013-07-20 Thread K. Frank
Hello List! On 64-bit mingw-w64: g++ (rubenvb-4.8-stdthread) 4.8.1 20130324 (prerelease) on 64-bit windows 7, I'm seeing that long doubles have a precision of about 18 decimal digits. I would guess that this is a legacy of the old 8087 80-bit internal floating-point number. From a quick

Re: [Mingw-w64-public] Change of SF.net file tree

2013-07-20 Thread Jon
On Sat, 20 Jul 2013 11:41:46 -0400 Earnie Boyd ear...@users.sourceforge.net wrote: On Sat, Jul 20, 2013 at 10:15 AM, Ozkan Sezer wrote: On Sat, Jul 20, 2013 at 4:58 PM, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: Hi, Although I am not strictly against it, it seems the MinGW-w64

Re: [Mingw-w64-public] Any color on not-so-long long doubles (about 18 decimal digits)?

2013-07-20 Thread JonY
On 7/20/2013 23:43, K. Frank wrote: Hello List! On 64-bit mingw-w64: g++ (rubenvb-4.8-stdthread) 4.8.1 20130324 (prerelease) on 64-bit windows 7, I'm seeing that long doubles have a precision of about 18 decimal digits. I would guess that this is a legacy of the old 8087 80-bit

Re: [Mingw-w64-public] Any color on not-so-long long doubles (about 18 decimal digits)?

2013-07-20 Thread K. Frank
Hi Jon! Thanks for your reply. On Sat, Jul 20, 2013 at 12:17 PM, JonY jo...@users.sourceforge.net wrote: On 7/20/2013 23:43, K. Frank wrote: Hello List! On 64-bit mingw-w64: g++ (rubenvb-4.8-stdthread) 4.8.1 20130324 (prerelease) on 64-bit windows 7, I'm seeing that long doubles have

[Mingw-w64-public] Merging MinGW-builds and MinGW-w64

2013-07-20 Thread niXman
After the discussion of the details, it was decided to merge the MinGW-builds and MinGW-w64 projects. Since then, the MinGW-builds project and all its achievements, are moving into the MinGW-w64 project and, thus, the MinGW-w64 project gets the official builds of the toolchains. The old MinGW-w64

[Mingw-w64-public] A problem about LTO

2013-07-20 Thread TOCK Chiu
Hi, There is a problem in Ruben's builds x86_64-w64-mingw32-gcc-4.8.0-win64_rubenvb.7z and x86_64-w64-mingw32-gcc-4.8.0-linux64_rubenvb.tar.xz. The simple code snippet below with argument -static -O2 -flto can reproduce the problem: #includeiostream int main(){ std::cout Foo = 101 std::endl;

Re: [Mingw-w64-public] InterlockedIncrement boost (yes, again) -What's the right answer here?

2013-07-20 Thread Erik van Pienbroek
dw schreef op za 20-07-2013 om 02:07 [-0700]: Boost could: 1) Use winbase.h (via windows.h) like the MSDN docs say they should. In fact, I wonder if defining BOOST_USE_WINDOWS_H would work. I just did some more testing. According to

Re: [Mingw-w64-public] Merging MinGW-builds and MinGW-w64

2013-07-20 Thread JonY
On 7/21/2013 02:00, niXman wrote: After the discussion of the details, it was decided to merge the MinGW-builds and MinGW-w64 projects. Since then, the MinGW-builds project and all its achievements, are moving into the MinGW-w64 project and, thus, the MinGW-w64 project gets the official

Re: [Mingw-w64-public] Any color on not-so-long long doubles (about 18 decimal digits)?

2013-07-20 Thread JonY
On 7/21/2013 01:58, K. Frank wrote: That would certainly make sense, but it doesn't square with what numeric_limits is telling me: numeric_limitslong double::digits10 = 18 numeric_limitslong double::max_digits10 = 21 Just to check that numeric_limits isn't lying to me I ran a

Re: [Mingw-w64-public] Any color on not-so-long long doubles (about 18 decimal digits)?

2013-07-20 Thread Kai Tietz
Actually gcc provides libquadmath for 128-bit floating point math routines. It might be worth a look. Aloha Kai Am 20.07.2013 17:04 schrieb JonY jo...@users.sourceforge.net: On 7/21/2013 01:58, K. Frank wrote: That would certainly make sense, but it doesn't square with what

Re: [Mingw-w64-public] Any color on not-so-long long doubles (about 18 decimal digits)?

2013-07-20 Thread K. Frank
Hello Jon and Kai! On Sat, Jul 20, 2013 at 11:54 PM, JonY 10bottlesofb...@gmail.com wrote: On 7/21/2013 11:47, Kai Tietz wrote: Actually gcc provides libquadmath for 128-bit floating point math routines. It might be worth a look. Aloha Kai Looks like it does provide the math routines, I