Skip to content

Instantly share code, notes, and snippets.

@pashazz
Created July 18, 2015 23:38
Show Gist options
  • Save pashazz/5a57012d795d7faecf4c to your computer and use it in GitHub Desktop.
Save pashazz/5a57012d795d7faecf4c to your computer and use it in GitHub Desktop.
78%] Building CXX object gridmd/CMakeFiles/gridmd.dir/src/jobmngr/unixsshell.cpp.o
/home/pasha/projects/gridmd/gridmd/src/gridmd.cpp: В функции-члене «int gmResourceDescr::Save(XMLFile&, xmlNodePtr, const wxString&)»:
/home/pasha/projects/gridmd/gridmd/src/gridmd.cpp:370:89: ошибка: вызов перегруженной «addAttribute(xmlNode*&, const char [5], const wxString)» имеет неоднозначную трактовку
xmldoc.addAttribute(resource, "name", name=="" ? session.login+"@"+session.host : name);
^
In file included from /home/pasha/projects/gridmd/gridmd/include/gmdinc.h:107:0,
from /home/pasha/projects/gridmd/gridmd/include/gridmd.h:249,
from /home/pasha/projects/gridmd/gridmd/src/gridmd.cpp:164:
/home/pasha/projects/gridmd/gridmd/include/gmd/xml/xml_file.h:158:20: замечание: candidate: virtual void XMLFile::addAttribute(xmlNodePtr, std::string, const char*)
virtual void addAttribute(xmlNodePtr node, std::string name, const char* content);
^
/home/pasha/projects/gridmd/gridmd/include/gmd/xml/xml_file.h:162:20: замечание: candidate: virtual void XMLFile::addAttribute(xmlNodePtr, std::string, bool)
virtual void addAttribute(xmlNodePtr node, std::string name, bool content);
^
/home/pasha/projects/gridmd/gridmd/src/gridmd.cpp:376:77: ошибка: вызов перегруженной «addAttribute(xmlNode*&, const char [5], wxString&)» имеет неоднозначную трактовку
if(!session.host.IsEmpty()) xmldoc.addAttribute(node, "host", session.host);
^
In file included from /home/pasha/projects/gridmd/gridmd/include/gmdinc.h:107:0,
from /home/pasha/projects/gridmd/gridmd/include/gridmd.h:249,
from /home/pasha/projects/gridmd/gridmd/src/gridmd.cpp:164:
/home/pasha/projects/gridmd/gridmd/include/gmd/xml/xml_file.h:158:20: замечание: candidate: virtual void XMLFile::addAttribute(xmlNodePtr, std::string, const char*)
virtual void addAttribute(xmlNodePtr node, std::string name, const char* content);
^
/home/pasha/projects/gridmd/gridmd/include/gmd/xml/xml_file.h:162:20: замечание: candidate: virtual void XMLFile::addAttribute(xmlNodePtr, std::string, bool)
virtual void addAttribute(xmlNodePtr node, std::string name, bool content);
^
/home/pasha/projects/gridmd/gridmd/src/gridmd.cpp:377:80: ошибка: вызов перегруженной «addAttribute(xmlNode*&, const char [6], wxString&)» имеет неоднозначную трактовку
if(!session.login.IsEmpty()) xmldoc.addAttribute(node, "login", session.login);
^
In file included from /home/pasha/projects/gridmd/gridmd/include/gmdinc.h:107:0,
from /home/pasha/projects/gridmd/gridmd/include/gridmd.h:249,
from /home/pasha/projects/gridmd/gridmd/src/gridmd.cpp:164:
/home/pasha/projects/gridmd/gridmd/include/gmd/xml/xml_file.h:158:20: замечание: candidate: virtual void XMLFile::addAttribute(xmlNodePtr, std::string, const char*)
virtual void addAttribute(xmlNodePtr node, std::string name, const char* content);
^
/home/pasha/projects/gridmd/gridmd/include/gmd/xml/xml_file.h:162:20: замечание: candidate: virtual void XMLFile::addAttribute(xmlNodePtr, std::string, bool)
virtual void addAttribute(xmlNodePtr node, std::string name, bool content);
^
/home/pasha/projects/gridmd/gridmd/src/gridmd.cpp:392:69: ошибка: вызов перегруженной «addAttribute(xmlNode*&, const char [5], wxString&)» имеет неоднозначную трактовку
if(!progname.IsEmpty()) xmldoc.addAttribute(node, "name", progname);
^
In file included from /home/pasha/projects/gridmd/gridmd/include/gmdinc.h:107:0,
from /home/pasha/projects/gridmd/gridmd/include/gridmd.h:249,
from /home/pasha/projects/gridmd/gridmd/src/gridmd.cpp:164:
/home/pasha/projects/gridmd/gridmd/include/gmd/xml/xml_file.h:158:20: замечание: candidate: virtual void XMLFile::addAttribute(xmlNodePtr, std::string, const char*)
virtual void addAttribute(xmlNodePtr node, std::string name, const char* content);
^
/home/pasha/projects/gridmd/gridmd/include/gmd/xml/xml_file.h:162:20: замечание: candidate: virtual void XMLFile::addAttribute(xmlNodePtr, std::string, bool)
virtual void addAttribute(xmlNodePtr node, std::string name, bool content);
^
gridmd/CMakeFiles/gridmd.dir/build.make:77: ошибка выполнения рецепта для цели «gridmd/CMakeFiles/gridmd.dir/src/gridmd.cpp.o»
make[2]: *** [gridmd/CMakeFiles/gridmd.dir/src/gridmd.cpp.o] Ошибка 1
make[2]: *** Ожидание завершения заданий…
CMakeFiles/Makefile2:125: ошибка выполнения рецепта для цели «gridmd/CMakeFiles/gridmd.dir/all»
make[1]: *** [gridmd/CMakeFiles/gridmd.dir/all] Ошибка 2
Makefile:75: ошибка выполнения рецепта для цели «all»
make: *** [all] Ошибка 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment