wokring on compiler warnings and makefile