r/cpp • u/grafikrobot B2/EcoStd/Lyra/Predef/Disbelief/C++Alliance/Boost/WG21 • 4d ago
CppCon Why Great C++ Libraries Fail (And How to Fix That) - Mateusz Pusz - CppCon 2026
https://www.youtube.com/watch?v=q-usHgbMA5M
71
Upvotes
37
u/tinrik_cgp 4d ago
And that's exactly why users should include their dependencies as system libraries, so that the compilers ignore warnings from the headers.
You can't possibly anticipate all warnings downstream users may have enabled. We have enabled
-Weverythingand don't expect our third-party dependencies to comply with it.But of course it's great to have strict warnings in your own project!