Compile with -Werror.
Use anonymous namespaces instead of static.