checking compilation with -g -Wall