[Varnish] #1429: build error on os x: vtc_varnish.c:816:36: error: format specifies type 'uintmax_t' (aka 'unsigned long') but the argument has type 'uint64_t' (aka 'unsigned long long')

Varnish varnish-bugs at varnish-cache.org
Thu Feb 6 15:38:03 CET 2014


#1429: build error on os x: vtc_varnish.c:816:36: error: format specifies type
'uintmax_t' (aka 'unsigned long') but the argument has type 'uint64_t' (aka
'unsigned long long')
--------------------+-------------------
 Reporter:  perbu   |      Owner:
     Type:  defect  |     Status:  new
 Priority:  normal  |  Milestone:
Component:  build   |    Version:  trunk
 Severity:  normal  |   Keywords:
--------------------+-------------------
 $ ./autogen.des && ./configure && make -j8
 (..)
 Making all in varnishtest
   CC       varnishtest-vtc.o
   CC       varnishtest-vtc_client.o
   CC       varnishtest-vtc_main.o
   CC       varnishtest-vtc_http.o
   CC       varnishtest-vtc_log.o
   CC       varnishtest-vtc_sema.o
   CC       varnishtest-vtc_server.o
   CC       varnishtest-vtc_varnish.o
 vtc_varnish.c:816:36: error: format specifies type 'uintmax_t' (aka
 'unsigned long') but the argument has type 'uint64_t' (aka 'unsigned long
 long')
       [-Werror,-Wformat]
                     av[0], sp.val, av[1], av[2], ref);
                                                  ^~~
 1 error generated.
 make[3]: *** [varnishtest-vtc_varnish.o] Error 1

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1429>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list