std::string libraryName = stdfileName;
//check if library already exist
bool found = false;
- for (int i = 0; !found && i < this->libraries.size(); i++)
+ for (int i = 0; !found && i < (int)(this->libraries.size()); i++)
{
if (this->libraries[i]->GetName() == libraryName)
{
{
//check if folder already exist
bool found = false;
- for (int i = 0; !found && i < this->children.size(); i++)
+ for (int i = 0; !found && i < (int)(this->children.size()); i++)
{
if (this->children[i]->GetName() == stdfileName)
{
else
{
bool found = false;
- for (int i = 0; !found && i < this->children.size(); i++)
+ for (int i = 0; !found && i < (int)(this->children.size()); i++)
{
if (this->children[i]->GetName() == stdfileName)
{
}
}
- for (int i = 0; i < checkedLibraries.size(); i++)
+ for (int i = 0; i < (int)(checkedLibraries.size()); i++)
{
if(!checkedLibraries[i])
{
i--;
}
}
- for (int i = 0; i < checked.size(); i++)
+ for (int i = 0; i < (int)(checked.size()); i++)
{
if(!checked[i])
{
if(this->CMakeLists != NULL)
{
//set properties parameters based on model
- for (int i = 0; i < this->libraries.size(); i++)
+ for (int i = 0; i < (int)(this->libraries.size()); i++)
properties["lib add " + libraries[i]->GetName()] = false;
//open cmakelists
{
word = words[0];
CDMUtilities::splitter::split(words, word, " ", CDMUtilities::splitter::empties_ok);
- for (int i = 0; i < words.size(); i++)
+ for (int i = 0; i < (int)(words.size()); i++)
{
if(words[i].substr(0,2) == "//")
break;
}
//check libraries' structure
- for (int i = 0; i < this->libraries.size(); i++)
+ for (int i = 0; i < (int)(this->libraries.size()); i++)
{
properties["library " + this->libraries[i]->GetName()] = true;
this->libraries[i]->CheckStructure(properties);