-
Figuring out which classes are part of the public API by using library symbols is fragile (dependent on specific compiler optimizations) and unreliable (misses some inline things). Instead, use castxml, a tool that parses C++ to an abstract syntax tree and generates XML, to get a reliable accounting of public classes and their sizes.
-
Otherwise we get errors if we added a class.
-
GNU grep 3.8 started to emit warnings when invoking egrep. Convert all calls to grep -E.