Some of the cpp headers (callbacks.h cxx_wrappers.h) don't have #pragma once at the top, so they can easily get multiply included.
If I get time, I'll create a pull request for this later, but its the kind of minor annoyance that should be easy to fix.