----- Original Message -----
From: "David Cleaver"
I get similar 'and' different behavior with my compiler. The similarity
is that, without -Wall it silently/successfully builds the program.
With -Wall, it gives the following error:
$ gcc -o try.exe try.c -Wall
try.c: In function 'main':
try.c:6: warning: unknown conversion type character 'l' in format
try.c:6: warning: too many arguments for format
Then, when I run try.exe, I get the following output:
$ try.exe
125
Hmm ...125 is the value contained in the 32 least significant bits.
Can you post your output when you run:
x86_64-w64-mingw32-gcc -v
Sure:
C:\_64>x86_64-w64-mingw32-gcc -v
Using built-in specs.
COLLECT_GCC=x86_64-w64-mingw32-gcc
COLLECT_LTO_WRAPPER=c:/_64/alt/bin/../libexec/gcc/x86_64-w64-mingw32/4.7.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with:
../../../build/gcc/src/configure --target=x86_64-w64-mingw32 --
prefix=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root --with-sysroot=/c
/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root --enable-languages=all,obj
-c++ --enable-fully-dynamic-string --disable-multilib
Thread model: win32
gcc version 4.7.0 20110410 (experimental) (GCC)
I'd like to bring this up on the mingw64 mailing list to see if they can
help us track down why we are seeing different behavior. If you're
interested, here is my 'gcc -v':
Using built-in specs.
Target: x86_64-w64-mingw32
Configured with:
../gcc44-svn/configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32
--disable-multilib --enable-checking=release --prefix=/mingw64 --with-sysroot=/mingw64
--enable-languages=c,c++,fortran,objc,obj-c++ --enable-libgomp --with-gmp=/mingw64
--with-mpfr=/mingw64 --disable-nls --disable-win32-registry
Thread model: win32
gcc version 4.4.5 20101001 (release) [svn/rev.164871 - mingw-w64/oz] (GCC)
Thanks for working with me on this. I'll talk with you later.
You're welcome.
I'm subscribed to the ([email protected]) mingw64
mailing list. If you raise it there I'll be able to follow the thread - and
that's something I'll do with some interest.
Cheers,
Rob
--
You received this message because you are subscribed to the Google Groups
"mpir-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mpir-devel?hl=en.