spcfile supported version, modify code for clang++ build clean