Compiler warnings and link errors