spandsp_fax.cpp: In member function ‘bool FaxTIFF::Open(t30_state_t*)’:
spandsp_fax.cpp:922:53: error: no matches converting function ‘PhaseB’ to type ‘t30_phase_b_handler_t’ {aka ‘int (*)(void*, int)’}
922 | t30_set_phase_b_handler(t30state, PhaseB, this);
| ^
spandsp_fax.cpp:995:10: note: candidates are: ‘void FaxTIFF::PhaseB(t30_state_t*, int)’
995 | void PhaseB(t30_state_t * t30state, int)
| ^~~~~~
spandsp_fax.cpp:973:16: note: ‘static int FaxTIFF::PhaseB(t30_state_t*, void*, int)’
973 | static int PhaseB(t30_state_t * t30state, void * user_data, int result)
| ^~~~~~
spandsp_fax.cpp:923:53: error: no matches converting function ‘PhaseD’ to type ‘t30_phase_d_handler_t’ {aka ‘int (*)(void*, int)’}
923 | t30_set_phase_d_handler(t30state, PhaseD, this);
| ^
spandsp_fax.cpp:1002:10: note: candidates are: ‘void FaxTIFF::PhaseD(t30_state_t*, int)’
1002 | void PhaseD(t30_state_t * t30state, int)
| ^~~~~~
spandsp_fax.cpp:980:16: note: ‘static int FaxTIFF::PhaseD(t30_state_t*, void*, int)’
980 | static int PhaseD(t30_state_t * t30state, void * user_data, int result)
| ^~~~~~
spandsp_fax.cpp:924:53: error: no matches converting function ‘PhaseE’ to type ‘t30_phase_e_handler_t’ {aka ‘void (*)(void*, int)’}
924 | t30_set_phase_e_handler(t30state, PhaseE, this);
| ^
spandsp_fax.cpp:1009:10: note: candidates are: ‘void FaxTIFF::PhaseE(t30_state_t*, int)’
1009 | void PhaseE(t30_state_t * t30state, int result)
| ^~~~~~
spandsp_fax.cpp:987:17: note: ‘static void FaxTIFF::PhaseE(t30_state_t*, void*, int)’
987 | static void PhaseE(t30_state_t * t30state, void * user_data, int result)
| ^~~~~~
Error in usage of
PhaseBPhaseDPhaseEhandlers