Modified strs[] to be an array of const char *'s rather than char *'s. It was being initialised by an array of const char *'s which made the gcc compiler uncomfortable.