Comment 17 for bug 923183

Revision history for this message
Brian Aker (brianaker) wrote : Re: [Bug 923183] 0.29 benchmark compilation fails on stange printf with PRIu64

Final fix was done via updating config and m4 files.

On Apr 10, 2012, at 8:08 AM, symphonyx wrote:

> So the fix was to include config.h instead of inttypes.h, per the
> patches in #8 and #9?
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/923183
>
> Title:
> 0.29 benchmark compilation fails on stange printf with PRIu64
>
> Status in Gearman Server and Client Libraries:
> Fix Released
>
> Bug description:
> CXX benchmark/benchmark.lo
> benchmark/benchmark.cc: In function 'void benchmark_check_time(gearman_benchmark_st*)':
> benchmark/benchmark.cc:30: error: expected `)' before 'PRIu64'
> cc1plus: warnings being treated as errors
> benchmark/benchmark.cc:40: warning: conversion lacks type at end of format [-Wformat]
> benchmark/benchmark.cc:40: warning: too many arguments for format [-Wformat-extra-args]
> make[1]: *** [benchmark/benchmark.lo] Error 1
> make[1]: Leaving directory `/root/programs/gearman/gearmand-trunk-487'
> make: *** [all] Error 2
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gearmand/+bug/923183/+subscriptions