if (name.size() == 0)
{
const char *test =mReader->GetDescriptiveName();
- if(test != "")
+ //warning: comparison with string literal results in unspecified behaviour
+ //if(test != "")
+ std::string emptyString("");
+ if(test != emptyString)
{
SetName ( "toto");// mReader->GetDescriptiveName());
}