-Qunused-arguments This is a clang command-line option but not gcc's (or g++'s).
-Qunused-arguments
Seeml like you configured with clang but build with g++?