[flac-dev] About libFLAC -> win_utf8_io dependency

lvqcl lvqcl.mail at gmail.com
Sat Jan 9 19:07:52 PST 2016


lvqcl wrote:

>    But it requires somebody to rewrite FLAC apps.

At least I have a suggestion: to enclose all FLAC API functions that
take char* filename argument into

     #ifndef FLAC__FILENAME_API_DISABLED ... #endif

and maybe also all functions that take FILE* argument into

     #ifndef FLAC__FILEPTR_API_DISABLED ... #endif

Then try to compile flac.exe/metaflac.exe/etc with -DFLAC__FILENAME_API_DISABLED.
When it's done, remove win_utf8_io dependency from libFLAC.


More information about the flac-dev mailing list