Advertisement
Guest User

Untitled

a guest
May 31st, 2013
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.40 KB | None | 0 0
  1. > ./JDI/src/System/macros.cpp: In member function 'void jdip::macro_function::preparse(std::string, jdi::error_handler*)':
  2. > ./JDI/src/System/macros.cpp:156:121: error: call of overloaded 'toString(pt&)' is ambiguous
  3. > if (!is_letter(val[i])) { herr->error("Expected parameter name following '#' token; `" + val + "'[" + ::toString(i) + "] is not a valid identifier character"); continue; }
  4. > ^
  5. > ./JDI/src/System/macros.cpp:156:121: note: candidates are:
  6. > In file included from ./JDI/src/System/macros.cpp:31:0:
  7. > ./JDI/src/General/parse_basics.h:91:12: note: std::string parse_bacics::visible::toString(int)
  8. > string toString(int);
  9. > ^
  10. > ./JDI/src/General/parse_basics.h:92:12: note: std::string parse_bacics::visible::toString(long int)
  11. > string toString(long);
  12. > ^
  13. > ./JDI/src/General/parse_basics.h:93:12: note: std::string parse_bacics::visible::toString(short int)
  14. > string toString(short);
  15. > ^
  16. > ./JDI/src/General/parse_basics.h:94:12: note: std::string parse_bacics::visible::toString(unsigned int)
  17. > string toString(unsigned);
  18. > ^
  19. > ./JDI/src/General/parse_basics.h:95:12: note: std::string parse_bacics::visible::toString(long unsigned int)
  20. > string toString(unsigned long);
  21. > ^
  22. > ./JDI/src/General/parse_basics.h:100:12: note: std::string parse_bacics::visible::toString(short unsigned int)
  23. > string toString(unsigned short);
  24. > ^
  25. > ./JDI/src/General/parse_basics.h:101:12: note: std::string parse_bacics::visible::toString(char)
  26. > string toString(char);
  27. > ^
  28. > ./JDI/src/General/parse_basics.h:102:12: note: std::string parse_bacics::visible::toString(char*) <near match>
  29. > string toString(char*);
  30. > ^
  31. > ./JDI/src/General/parse_basics.h:102:12: note: no known conversion for argument 1 from 'pt {aka long long unsigned int}' to 'char*'
  32. > ./JDI/src/General/parse_basics.h:103:12: note: std::string parse_bacics::visible::toString(float)
  33. > string toString(float);
  34. > ^
  35. > ./JDI/src/General/parse_basics.h:104:12: note: std::string parse_bacics::visible::toString(double)
  36. > string toString(double);
  37. > ^
  38. > ./JDI/src/System/macros.cpp: In member function 'bool jdip::macro_function::parse(std::vector<std::basic_string<char> >&, char*&, char*&, jdip::token_t, jdi::error_handler*) const':
  39. > ./JDI/src/System/macros.cpp:198:132: error: call of overloaded 'toString(std::vector<std::basic_string<char> >::size_type)' is ambiguous
  40. > return errtok.report_error(herr, "Too few arguments to macro function `" + name + "': provided " + ::toString(arg_list.size()) + ", requested " + ::toString(args.size())), false;
  41. > ^
  42. > ./JDI/src/System/macros.cpp:198:132: note: candidates are:
  43. > In file included from ./JDI/src/System/macros.cpp:31:0:
  44. > ./JDI/src/General/parse_basics.h:91:12: note: std::string parse_bacics::visible::toString(int)
  45. > string toString(int);
  46. > ^
  47. > ./JDI/src/General/parse_basics.h:92:12: note: std::string parse_bacics::visible::toString(long int)
  48. > string toString(long);
  49. > ^
  50. > ./JDI/src/General/parse_basics.h:93:12: note: std::string parse_bacics::visible::toString(short int)
  51. > string toString(short);
  52. > ^
  53. > ./JDI/src/General/parse_basics.h:94:12: note: std::string parse_bacics::visible::toString(unsigned int)
  54. > string toString(unsigned);
  55. > ^
  56. > ./JDI/src/General/parse_basics.h:95:12: note: std::string parse_bacics::visible::toString(long unsigned int)
  57. > string toString(unsigned long);
  58. > ^
  59. > ./JDI/src/General/parse_basics.h:100:12: note: std::string parse_bacics::visible::toString(short unsigned int)
  60. > string toString(unsigned short);
  61. > ^
  62. > ./JDI/src/General/parse_basics.h:101:12: note: std::string parse_bacics::visible::toString(char)
  63. > string toString(char);
  64. > ^
  65. > ./JDI/src/General/parse_basics.h:102:12: note: std::string parse_bacics::visible::toString(char*) <near match>
  66. > string toString(char*);
  67. > ^
  68. > ./JDI/src/General/parse_basics.h:102:12: note: no known conversion for argument 1 from 'std::vector<std::basic_string<char> >::size_type {aka long long unsigned int}' to 'char*'
  69. > ./JDI/src/General/parse_basics.h:103:12: note: std::string parse_bacics::visible::toString(float)
  70. > string toString(float);
  71. > ^
  72. > ./JDI/src/General/parse_basics.h:104:12: note: std::string parse_bacics::visible::toString(double)
  73. > string toString(double);
  74. > ^
  75. > ./JDI/src/System/macros.cpp:198:175: error: call of overloaded 'toString(std::vector<std::basic_string<char> >::size_type)' is ambiguous
  76. > return errtok.report_error(herr, "Too few arguments to macro function `" + name + "': provided " + ::toString(arg_list.size()) + ", requested " + ::toString(args.size())), false;
  77. > ^
  78. > ./JDI/src/System/macros.cpp:198:175: note: candidates are:
  79. > In file included from ./JDI/src/System/macros.cpp:31:0:
  80. > ./JDI/src/General/parse_basics.h:91:12: note: std::string parse_bacics::visible::toString(int)
  81. > string toString(int);
  82. > ^
  83. > ./JDI/src/General/parse_basics.h:92:12: note: std::string parse_bacics::visible::toString(long int)
  84. > string toString(long);
  85. > ^
  86. > ./JDI/src/General/parse_basics.h:93:12: note: std::string parse_bacics::visible::toString(short int)
  87. > string toString(short);
  88. > ^
  89. > ./JDI/src/General/parse_basics.h:94:12: note: std::string parse_bacics::visible::toString(unsigned int)
  90. > string toString(unsigned);
  91. > ^
  92. > ./JDI/src/General/parse_basics.h:95:12: note: std::string parse_bacics::visible::toString(long unsigned int)
  93. > string toString(unsigned long);
  94. > ^
  95. > ./JDI/src/General/parse_basics.h:100:12: note: std::string parse_bacics::visible::toString(short unsigned int)
  96. > string toString(unsigned short);
  97. > ^
  98. > ./JDI/src/General/parse_basics.h:101:12: note: std::string parse_bacics::visible::toString(char)
  99. > string toString(char);
  100. > ^
  101. > ./JDI/src/General/parse_basics.h:102:12: note: std::string parse_bacics::visible::toString(char*) <near match>
  102. > string toString(char*);
  103. > ^
  104. > ./JDI/src/General/parse_basics.h:102:12: note: no known conversion for argument 1 from 'std::vector<std::basic_string<char> >::size_type {aka long long unsigned int}' to 'char*'
  105. > ./JDI/src/General/parse_basics.h:103:12: note: std::string parse_bacics::visible::toString(float)
  106. > string toString(float);
  107. > ^
  108. > ./JDI/src/General/parse_basics.h:104:12: note: std::string parse_bacics::visible::toString(double)
  109. > string toString(double);
  110. > ^
  111. > ./JDI/src/Storage/definition.cpp: In member function 'virtual std::string jdi::definition_template::toString(unsigned int, unsigned int)':
  112. > ./JDI/src/Storage/definition.cpp:695:51: error: conversion from 'jdi::value' to 'long long int' is ambiguous
  113. > res += " = " + ((definition_valued*)d)->value_of;
  114. > ^
  115. > ./JDI/src/Storage/definition.cpp:695:51: note: candidates are:
  116. > In file included from ./JDI/src/Storage/definition.h:155:0,
  117. > from ./JDI/src/Storage/definition.cpp:25:
  118. > ./JDI/src/Storage/value.h:78:5: note: jdi::value::operator const char*() const <near match>
  119. > operator const char* () const; ///< Cast to a const char*, returning NULL if no valid cast exists. @warning May be null. @warning Do not free.
  120. > ^
  121. > ./JDI/src/Storage/value.h:78:5: note: no known conversion for implicit 'this' parameter from 'const char*' to 'long long int'
  122. > ./JDI/src/Storage/value.h:77:5: note: jdi::value::operator bool() const
  123. > operator bool() const; ///< Cast to a boolean, returning false if no valid cast exists, true if this is a non-empty string.
  124. > ^
  125. > ./JDI/src/Storage/value.h:76:5: note: jdi::value::operator double() const
  126. > operator double() const; ///< Cast to a double, returning zero if no valid cast exists.
  127. > ^
  128. > ./JDI/src/Storage/value.h:75:5: note: jdi::value::operator long int() const
  129. > operator long() const; ///< Cast to a long int, returning zero if no valid cast exists.
  130. > ^
  131. > ./compiler/components/parse_and_link.cpp: In member function 'virtual int lang_CPP::compile_parseAndLink(EnigmaStruct*, parsed_script**)':
  132. > ./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}')
  133. > edbg << "Parsed `" << es->scripts[i].name << "': " << scripts[i]->obj.locals.size() << " locals, " << scripts[i]->obj.globals.size() << " globals" << flushl;
  134. > ^
  135. > ./compiler/components/parse_and_link.cpp:64:56: note: candidates are:
  136. > In file included from ./compiler/components/parse_and_link.cpp:30:0:
  137. > ./backend/ideprint.h:34:13: note: ideprint& ideprint::operator<<(std::string) <near match>
  138. > ideprint &operator<< (std::string);
  139. > ^
  140. > ./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>}'
  141. > ./backend/ideprint.h:35:13: note: ideprint& ideprint::operator<<(const char*) <near match>
  142. > ideprint &operator<< (const char* x);
  143. > ^
  144. > ./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*'
  145. > ./backend/ideprint.h:36:13: note: ideprint& ideprint::operator<<(void*) <near match>
  146. > ideprint &operator<< (void* x);
  147. > ^
  148. > ./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*'
  149. > ./backend/ideprint.h:37:13: note: ideprint& ideprint::operator<<(int)
  150. > ideprint &operator<< (int x);
  151. > ^
  152. > ./backend/ideprint.h:38:13: note: ideprint& ideprint::operator<<(long int)
  153. > ideprint &operator<< (long x);
  154. > ^
  155. > ./backend/ideprint.h:39:13: note: ideprint& ideprint::operator<<(unsigned int)
  156. > ideprint &operator<< (unsigned x);
  157. > ^
  158. > ./backend/ideprint.h:40:13: note: ideprint& ideprint::operator<<(long unsigned int)
  159. > ideprint &operator<< (unsigned long x);
  160. > ^
  161. > ./backend/ideprint.h:45:13: note: ideprint& ideprint::operator<<(char)
  162. > ideprint &operator<< (char x);
  163. > ^
  164. > ./backend/ideprint.h:46:13: note: ideprint& ideprint::operator<<(unsigned char)
  165. > ideprint &operator<< (unsigned char x);
  166. > ^
  167. > ./backend/ideprint.h:47:13: note: ideprint& ideprint::operator<<(double)
  168. > ideprint &operator<< (double x);
  169. > ^
  170. > mingw32-make.exe[1]: Leaving directory 'D:/Program Files (x86)/ENIGMA/enigma-dev/CompilerSource'
  171. > Makefile:6: recipe for target 'ENIGMA' failed
  172. > mingw32-make.exe: *** [ENIGMA] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement