Re: [Mingw-w64-public] Attempt to remove fallthrough warnings with GCC 7.2.0x

2018-04-19 Thread jpmugaas
In case I missed it the first time. -Original Message- From: jpmug...@suddenlink.net Sent: Thursday, April 19, 2018 2:39 PM To: mingw-w64-public@lists.sourceforge.net Subject: [Mingw-w64-public] Attempt to remove fallthrough warnings with GCC 7.2.0x This is another attempt to remove the

[Mingw-w64-public] Attempt to remove fallthrough warnings with GCC 7.2.0x

2018-04-19 Thread jpmugaas
This is another attempt to remove the fallthrough warnings. I decided to redo the fallthrough maco. The macro does look complex but I wanted something I could reuse something in other work and I did not want to rely upon a "fall through" comment because that is a hacky workaround and I prefer

Re: [Mingw-w64-public] sizeof long

2018-04-17 Thread jpmugaas
That's the way it for Windows and the behavior is the same for Microsoft Visual C++.And since it's been that way for so long, changing it would break a lot of code even if it were possible. This behavior is different than in Linux where types would grow to 8 bytes. -Original Message- Fro

Re: [Mingw-w64-public] genlib 0 can not compile

2018-03-12 Thread jpmugaas
... yes checking for floor in -lm... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory '/home/jpm

[Mingw-w64-public] Oatcg for mingw-w64-crt - Fix fallthrough warnings

2018-03-12 Thread jpmugaas
I have made a patch to fix fallthrough warnings that I was seeing with GNU GCC 7.3 and I suspect could also with Clang 3.0.1. Please see: https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7 / . The thing is that these new warnings were developed because programers w

[Mingw-w64-public] genlib 0 can not compile

2018-03-11 Thread jpmugaas
that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory '/home/jpmugaas/exp/mingw-w64-tools-git/src/x86_64-w64

Re: [Mingw-w64-public] GCC Fallthrough warnings.

2018-03-10 Thread jpmugaas
-Original Message- From: Mateusz MikuĊ‚a Sent: Friday, March 9, 2018 7:41 PM To: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] GCC Fallthrough warnings. There is no patch attached. I hope this works: === diff --git a/mingw-w64-crt/stdio/mingw_pformat.c b/mingw-

[Mingw-w64-public] GCC Fallthrough warnings.

2018-03-09 Thread jpmugaas
When compiling with GCC 7.3.0, I got warnings about falltrhoughts and I mad e patch for this that I'm attaching to this E-Mail. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashd