joyent/http-parser — Issue #67: test.c:1572:7: error: unknown conversion type character 'z' in format
Author: daurnimator
Created: 2011-10-19 09:18:42+00:00
State: open

$ make
gcc -I. -DHTTP_PARSER_STRICT=1 -DHTTP_PARSER_DEBUG=1 -Wall -Wextra -Werror -O0
-g -c http_parser.c -o http_parser_g.o
gcc -I. -DHTTP_PARSER_STRICT=1 -DHTTP_PARSER_DEBUG=1 -Wall -Wextra -Werror -O0
-g -c test.c -o test_g.o
cc1.exe: warnings being treated as errors
test.c: In function 'test_no_overflow_long_body':
test.c:1572:7: error: unknown conversion type character 'z' in format
test.c:1572:7: error: too many arguments for format
test.c:1592:11: error: unknown conversion type character 'z' in format
test.c:1592:11: error: too many arguments for format
make: *** [test_g.o] Error 1

$ uname -a
MINGW32_NT-6.1 DAURN-PHENOM 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys

$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.5.2/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r
untime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.2 (GCC)