Advertisement
Guest User

Untitled

a guest
May 31st, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. > ./JDI/src/Storage/definition.cpp: In member function 'virtual std::string jdi::definition_template::toString(unsigned int, unsigned int)':
  2. > ./JDI/src/Storage/definition.cpp:695:66: error: base operand of '->' is not a pointer
  3. > res += " = " + ((long long int)((definition_valued*)d))->value_of;
  4. > ^
  5. > ./compiler/components/parse_and_link.cpp: In member function 'virtual int lang_CPP::compile_parseAndLink(EnigmaStruct*, parsed_script**)':
  6. > ./compiler/components/parse_and_link.cpp:64:56: error: ambiguous overload for 'operator<<' (operand types are 'ideprint' and 'std::map<std::basic_string<char>, dectrip>::size_type {aka long long unsigned int}')
  7. > edbg << "Parsed `" << es->scripts[i].name << "': " << scripts[i]->obj.locals.size() << " locals, " << scripts[i]->obj.globals.size() << " globals" << flushl;
  8. > ^
  9. > ./compiler/components/parse_and_link.cpp:64:56: note: candidates are:
  10. > In file included from ./compiler/components/parse_and_link.cpp:30:0:
  11. > ./backend/ideprint.h:34:13: note: ideprint& ideprint::operator<<(std::string) <near match>
  12. > ideprint &operator<< (std::string);
  13. > ^
  14. > ./backend/ideprint.h:34:13: note: no known conversion for argument 1 from 'std::map<std::basic_string<char>, dectrip>::size_type {aka long long unsigned int}' to 'std::string {aka std::basic_string<char>}'
  15. > ./backend/ideprint.h:35:13: note: ideprint& ideprint::operator<<(const char*) <near match>
  16. > ideprint &operator<< (const char* x);
  17. > ^
  18. > ./backend/ideprint.h:35:13: note: no known conversion for argument 1 from 'std::map<std::basic_string<char>, dectrip>::size_type {aka long long unsigned int}' to 'const char*'
  19. > ./backend/ideprint.h:36:13: note: ideprint& ideprint::operator<<(void*) <near match>
  20. > ideprint &operator<< (void* x);
  21. > ^
  22. > ./backend/ideprint.h:36:13: note: no known conversion for argument 1 from 'std::map<std::basic_string<char>, dectrip>::size_type {aka long long unsigned int}' to 'void*'
  23. > ./backend/ideprint.h:37:13: note: ideprint& ideprint::operator<<(int)
  24. > ideprint &operator<< (int x);
  25. > ^
  26. > ./backend/ideprint.h:38:13: note: ideprint& ideprint::operator<<(long int)
  27. > ideprint &operator<< (long x);
  28. > ^
  29. > ./backend/ideprint.h:39:13: note: ideprint& ideprint::operator<<(unsigned int)
  30. > ideprint &operator<< (unsigned x);
  31. > ^
  32. > ./backend/ideprint.h:40:13: note: ideprint& ideprint::operator<<(long unsigned int)
  33. > ideprint &operator<< (unsigned long x);
  34. > ^
  35. > ./backend/ideprint.h:45:13: note: ideprint& ideprint::operator<<(char)
  36. > ideprint &operator<< (char x);
  37. > ^
  38. > ./backend/ideprint.h:46:13: note: ideprint& ideprint::operator<<(unsigned char)
  39. > ideprint &operator<< (unsigned char x);
  40. > ^
  41. > ./backend/ideprint.h:47:13: note: ideprint& ideprint::operator<<(double)
  42. > ideprint &operator<< (double x);
  43. > ^
  44. > mingw32-make.exe[1]: Leaving directory 'D:/Program Files (x86)/ENIGMA/enigma-dev/CompilerSource'
  45. > Makefile:6: recipe for target 'ENIGMA' failed
  46. > mingw32-make.exe: *** [ENIGMA] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement