ctcadpt.c:2240:20: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op] Source code is if( (argc < 3) && (argc > 5) ) Maybe better code: if( (argc < 3) || (argc > 5) )