Am 30.06.2012 17:51, schrieb Guenter:
some further investigation reveals this:
(your build)
/bin/bash
../../libtool --tag=CC --mode=link i586-mingw32msvc-gcc -g0 -O2
-pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow
-Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes
-Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef
-Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes
-Wdeclaration-after-statement -Wstrict-aliasing=3 -Wcast-align
-Wtype-limits -Wold-style-declaration -Wmissing-parameter-type
-Wempty-body -Wclobbered -Wignored-qualifiers -Wconversion
-Wno-sign-conversion -Wvla -Wno-system-headers -o anyauthput.exe
anyauthput.o ../../lib/libcurl.la -L/tmp/win32dev/libdl/lib
-L/tmp/win32dev/pthread/lib -L/tmp/win32dev/nss-3.12.5-nspr-4.8.2/lib
(my build)
/bin/sh
../../libtool --tag=CC --mode=link i686-pc-mingw32-gcc -g0 -O2 -pedantic
-Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline
-Wnested-externs -Wmissing-declarations -Wmissing-prototypes
-Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef
-Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes
-Wdeclaration-after-statement -Wstrict-aliasing=3 -Wcast-align
-Wtype-limits -Wold-style-declaration -Wmissing-parameter-type
-Wempty-body -Wclobbered -Wignored-qualifiers -Wconversion
-Wno-sign-conversion -Wvla -Wno-pedantic-ms-format -Wno-system-headers
-L/build-18294/ares -o anyauthput.exe anyauthput.o ../../lib/libcurl.la
so my build has the additional flag -Wno-pedantic-ms-format - my guess
is that this might fix the warnings for your build too, and that your
compiler is not correctly detected as mingw in configure, probably due
to no correct triplet (i586-mingw32msvc-gcc vs. i686-pc-mingw32-gcc) ...
no, its not the triplet but seems to be version-dependent; here's a
build from me with i686-pc-mingw32-gcc 4.3.3 and this build lacks the
-Wno-pedantic-ms-format flag too:
http://curl.haxx.se/dev/log.cgi?id=20120630144742-1844#prob1
perhaps its a good idea to let configure output the detected compiler +
version?
Gün.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html