r/cpp • u/User_Deprecated • Jun 18 '26
GCC 17 Lands Initial Infrastructure For C++29
https://www.phoronix.com/news/GCC-17-std-CPP29-Experimental
130
Upvotes
r/cpp • u/User_Deprecated • Jun 18 '26
View all comments
Show parent comment
4
u/Expert-Map-1126 vcpkg maintainer BillyONeal Jun 18 '26
I have not been a standard library maintainer for 6 years so don't take this as "on high". I was under the impression that
std.objmay depend on user settings so it may not be bundleable the way the libraries are normally bundled. For instance, different_ITERATOR_DEBUG_LEVELsettings create disjoint linker universes but there is only one import.lib, so we can't put anything_IDLdependent in the normal import libs, that stuff must all be header only.I expect that if you're shipping a static library, the
std.objyou built is the same as any of your other.objs that include standard library symbols from headers world so it needs to be in your.lib. But I am not positive.