[FFmpeg-devel] [PATCH v4 0/4] Fix MSVC build without optimizations

Nicolas George george at nsup.org
Fri Jul 28 13:55:31 EEST 2023


Reimar Döffinger (12023-07-28):
> I assume the issue is missing symbols during linking?
> If you really want this, why not create a file that provides dummy
> symbols for all that are missing, concentrating the #if mess in
> a single place and avoiding affecting any of the regular code, and thus
> having no impact at all when compiling with optimizations.
> Yes, it's likely to be a good bit of maintenance effort for those who
> want to use it, but at least anyone not caring about this feature can
> ignore it, so at least I would not have a reason to be against it.

This is an interesting idea. It would even be possible to include a tool
that generate these stubs directly from the linker's errors, reducing
the maintenance.

Maybe even make the stubs static inline functions rather than actual
linking symbols.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230728/119408b6/attachment.sig>


More information about the ffmpeg-devel mailing list