Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit compiler in strict ISO mode with all warnings enabled?

2017-06-22 Thread Lev Serebryakov
On 22.06.2017 16:17, Kai Tietz via Mingw-w64-public wrote: > Be welcome. Well, actually gcc has one paragraph about this. You can > find it in gcc's extend.texi. It is part of the item 'format > (@var{archetype}, ...' about attributes. I've looked at GCC online documentation :) It mention ms_*

Re: [Mingw-w64-public] [PATCH] strsafe.h: Added missing _STRSAFE_EXTERN_C in cases when inlining is disables.

2017-06-22 Thread Jacek Caban
On 22.06.2017 15:07, Kai Tietz via Mingw-w64-public wrote: > 2017-06-20 3:52 GMT+02:00 Liu Hao : >> On 2017/6/20 1:40, Jacek Caban wrote: >>> Please review. >>> >>> Signed-off-by: Jacek Caban >>> --- >>> mingw-w64-headers/include/strsafe.h | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deleti

Re: [Mingw-w64-public] [PATCH] Added oleacc.tlb.

2017-06-22 Thread Kai Tietz via Mingw-w64-public
Hello Jacek, patch is ok. Thanks, Kai 2017-06-19 18:16 GMT+02:00 Jacek Caban : > Please review. > > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/Makefile.am| 1 + > mingw-w64-headers/tlb/oleacc.idl | 382 > +++ > 2 files changed, 383 insertions

Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit compiler in strict ISO mode with all warnings enabled?

2017-06-22 Thread Kai Tietz via Mingw-w64-public
2017-06-22 14:19 GMT+02:00 Lev Serebryakov : > On 22.06.2017 15:12, Kai Tietz via Mingw-w64-public wrote: > >> Well, your issue is "(format (printf, ... )". First use __printf, or >> even better __printf__. Nevertheless the printf formatter is >> representing the default print-formatter style. T

Re: [Mingw-w64-public] [PATCH] strsafe.h: Added missing _STRSAFE_EXTERN_C in cases when inlining is disables.

2017-06-22 Thread Kai Tietz via Mingw-w64-public
2017-06-20 3:52 GMT+02:00 Liu Hao : > On 2017/6/20 1:40, Jacek Caban wrote: >> >> Please review. >> >> Signed-off-by: Jacek Caban >> --- >> mingw-w64-headers/include/strsafe.h | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> > We might have to test this patch with different `-std

Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit compiler in strict ISO mode with all warnings enabled?

2017-06-22 Thread Lev Serebryakov
On 22.06.2017 15:12, Kai Tietz via Mingw-w64-public wrote: > Well, your issue is "(format (printf, ... )". First use __printf, or > even better __printf__. Nevertheless the printf formatter is > representing the default print-formatter style. That is obviously on > Windows not the gnu-ish varia

Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit compiler in strict ISO mode with all warnings enabled?

2017-06-22 Thread Kai Tietz via Mingw-w64-public
2017-06-22 13:39 GMT+02:00 Lev Serebryakov : > Hello Liu, > > Thursday, June 22, 2017, 4:46:33 AM, you wrote: > So, I need to printf() uint64_t in my project, which is built in strict ISO C11 mode and with all warnings enabled. >>> If I try to use "%llu" I get warning that "unkno

Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit compiler in strict ISO mode with all warnings enabled?

2017-06-22 Thread Lev Serebryakov
Hello Liu, Thursday, June 22, 2017, 4:46:33 AM, you wrote: >>> So, I need to printf() uint64_t in my project, which is built in strict >>> ISO C11 mode and with all warnings enabled. >> >>> If I try to use "%llu" I get warning that "unknown conversion type >>> character 'l' in format". If I

Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit compiler in strict ISO mode with all warnings enabled?

2017-06-22 Thread Kai Tietz via Mingw-w64-public
2017-06-22 4:53 GMT+02:00 : > -Original Message- From: Liu Hao > Sent: Thursday, June 22, 2017 11:46 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit > compiler in strict ISO mode with all warnings enabled? > >>> S