wcap: Add GCC_CFLAGS and fix more compiler warnings
3 files changed