[CinCV TNG] [PATCH] Cache all BC_Hash values (configuration defaults)

Einar Rünkaru einarrunkaru at gmail.com
Thu Nov 17 22:00:19 CET 2016



On 11/17/2016 09:51 PM, Nicola Ferralis wrote:
> Hi, while compiling on Ubuntu Precise, I get this error:
>
> bcfilebox.C: In member function ‘int BC_FileBox::create_tables()’:
> bcfilebox.C:782:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t {aka long int}’ [-Wformat]
>   CXX    bcfontentry.lo
>   CXX    bchash.lo
> bchash.C: In member function ‘int BC_Hash::update(const char*, int64_t)’:
> bchash.C:210:22: error: expected ‘)’ before ‘PRId64’
> bchash.C:210:35: warning: spurious trailing ‘%’ in format [-Wformat]
> bchash.C:210:35: warning: too many arguments for format [-Wformat-extra-args]
> make[3]: *** [bchash.lo] Error 1
>

Weird. Macro ‘PRId64’ should be defined in /usr/include/inttypes.h. Does 
it exist there? Package libc6-dev should install it.

Einar


More information about the Cinelerra mailing list