warning as error(strchr)