In the source file: srcexportExportFLAC.cpp at or near line number 240:
#ifdef LEGACY_FLAC
encoder.set_filename(OSOUTPUT(fName));
#endif
If LEGACY_FLAC somehow gets set, the above will fail to compile because the function:
encoder.set_filename(…)
does not exist. Have a look at: lib-srclibflacincludeFLAC++encoder.h between lines 127 & 149 where all of the set… () functions are listed– it is not there.