On Thursday 03 September 2026 12:05:57 Jacek Caban wrote:
> On 9/2/26 21:48, Zhongteng Gui wrote:
> > But for seldom used libraries like
> > libdelayimp.a, maybe it'd be better to finally remove them after 1 or 2 
> > major
> > versions after deprecating, as this also help downstreams to update their 
> > usage
> > timely.
> 
> 
> No, delayimp import is required when using delayload on MSVC and projects
> are free to unconditionally import it. If you'd remove it, you'd force such
> project to complicate their build systems addubg some conditional import
> depending on if it's built for msvc or mingw. That's not an improvement. It
> was added in 31c8591f01f336 to fix building Firefox and I think the reason
> still applies.
> 
> 
> I think it's fine to remove empty libraries that are actually useless, but
> being empty does not automatically imply useless.
> 
> 
> Jacek
> 

I agree. The metric which calculate size of library or number of object
files in library is mostly wrong. The important is if the library is
working, is non-broken or if is useful. Those are two different things,
and as can be seen even the empty library is useful, is working and is
required.


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to