Add duplicate warnings to src/main.cpp