Re: [Mingw-w64-public] Question on scanf and modifiers...

2010-01-31 Thread Ozkan Sezer
On Mon, Feb 1, 2010 at 4:59 AM, David Cleaver wrote: > > JonY wrote: >> There is no such macro as __MINGW64__, use __MINGW64_VERSION_MAJOR >> instead, its guaranteed to be defined if you include any mingw-w64 >> headers. >> To clarify things: __MINGW32__ and __MINGW64__ : They are both compiler '

Re: [Mingw-w64-public] Question on scanf and modifiers...

2010-01-31 Thread NightStrike
On Sun, Jan 31, 2010 at 9:59 PM, David Cleaver wrote: > Hello, thank you all for your replies.  I seem to be having some trouble > getting > __MINGW64_VERSION_MAJOR to work for me.  Perhaps I have set up my environment > wrong?  I've downloaded mingw-w64-bin_x86_64-mingw_20100123_sezero.zip and >

Re: [Mingw-w64-public] Question on scanf and modifiers...

2010-01-31 Thread David Cleaver
JonY wrote: > There is no such macro as __MINGW64__, use __MINGW64_VERSION_MAJOR > instead, its guaranteed to be defined if you include any mingw-w64 > headers. > > I think __USE_MINGW_ANSI_STDIO only applies to the printf family, the > scanf family has not been ported yet, so you'll need to use

Re: [Mingw-w64-public] Question on scanf and modifiers...

2010-01-30 Thread Tor Lillqvist
> I know it wasn't long ago that I was asking about using %llu in fscanf or > sscanf.  However, I am wondering if anything has changed in this regard?  Does > MingW64 support %llu in the scanf functions? Use SCNu64 from . That's what it's for. --tml --

Re: [Mingw-w64-public] Question on scanf and modifiers...

2010-01-30 Thread NightStrike
On Fri, Jan 29, 2010 at 11:11 PM, David Cleaver wrote: > Hello again, > > I know it wasn't long ago that I was asking about using %llu in fscanf or > sscanf.  However, I am wondering if anything has changed in this regard?  Does > MingW64 support %llu in the scanf functions? > > Also, in the futur

Re: [Mingw-w64-public] Question on scanf and modifiers...

2010-01-29 Thread JonY
On 1/30/2010 12:11, David Cleaver wrote: > Hello again, > > I know it wasn't long ago that I was asking about using %llu in fscanf or > sscanf. However, I am wondering if anything has changed in this regard? Does > MingW64 support %llu in the scanf functions? > > Also, in the future, is there an

[Mingw-w64-public] Question on scanf and modifiers...

2010-01-29 Thread David Cleaver
Hello again, I know it wasn't long ago that I was asking about using %llu in fscanf or sscanf. However, I am wondering if anything has changed in this regard? Does MingW64 support %llu in the scanf functions? Also, in the future, is there an easy way for me to find out this information on m