Am 18.06.2014 06:28, schrieb Richard Henderson: >> I don't know the reason, because all locations seem to have arguments >> which are function calls, and the called function returns Instr which >> is uint32_t, not int64_t. > ... >> + void GCC_FMT_ATTR(2, 3) AppendToOutput(const char* string, ...); > > It "helps" because 2,3 is wrong. Correct would be 1,2 for this function. > > > r~ >
No. This is a class member function, so there is an invisible fist "this" argument which counts for the gcc format attribute. gcc would complain if the numbering were wrong. Stefan