Fix warnings generated with -Weverything in PBF code.
Fiddle around with warning flags.