>>892
C++らしくするなら、継承でいいと思う。
struct my_error_mgr : jpeg_error_mgr
{
jmp_buf setjmp_buffer; /* for return to caller */
};