mardi 17 mars 2015

Eclipse giving error where CMake gives none


I have a



class const_iterator: public std::iterator<std::random_access_iterator_tag,
int>
{
...
}


that cmake compiles just fine, but Eclipse is saying Invalid template arguments. It took me a long time to find all the include directories for Eclipse to compile the code in, and I finally ended up with include paths


"Search for Unresolved Includes" doesn't show anything anymore, but I'm guessing the problem might be that since locate gave multiple locations for some of the files I was searching for, I might've picked the wrong folder to give to Eclipse.


Anyone know how I can compare the entire include paths of Eclipse vs automake, or know what the real problem here is?


Thanks!




Aucun commentaire:

Enregistrer un commentaire