After Adding "-pedantic -Wall -W" to my project, gcc began complaining profusely about various problems in the commoncpp headers. Reading the gcc man page, I discovered that "you should not use this option [-I] to add directories that contain vendor-supplied system header files (use -isystem for that)."
"Excellent, my salvation has arrived!" thought I, only to be disappointed with warnings of:
/usr/include/cc++2/cc++/socket.h: In member function `virtual bool
ost::TCPSocket::onAccept(const ost::InetHostAddress&, short unsigned int)':
/usr/include/cc++2/cc++/socket.h:1422: warning: unused parameter `const
/usr/include/cc++2/cc++/socket.h:1422: warning: unused parameter `tpport_t port
from gcc. Considering the number of much more severe warnings that -isystem eliminated, it seems that continuing to complain about mere unused parameters is an error.
What version of GCC? Try the newest stable version on your arch and reopen if
its still a problem.