Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > ./JDI/src/System/macros.cpp: In member function 'void jdip::macro_function::preparse(std::string, jdi::error_handler*)':
- > ./JDI/src/System/macros.cpp:156:121: error: call of overloaded 'toString(pt&)' is ambiguous
- > if (!is_letter(val[i])) { herr->error("Expected parameter name following '#' token; `" + val + "'[" + ::toString(i) + "] is not a valid identifier character"); continue; }
- > ^
- > ./JDI/src/System/macros.cpp:156:121: note: candidates are:
- > In file included from ./JDI/src/System/macros.cpp:31:0:
- > ./JDI/src/General/parse_basics.h:91:12: note: std::string parse_bacics::visible::toString(int)
- > string toString(int);
- > ^
- > ./JDI/src/General/parse_basics.h:92:12: note: std::string parse_bacics::visible::toString(long int)
- > string toString(long);
- > ^
- > ./JDI/src/General/parse_basics.h:93:12: note: std::string parse_bacics::visible::toString(short int)
- > string toString(short);
- > ^
- > ./JDI/src/General/parse_basics.h:94:12: note: std::string parse_bacics::visible::toString(unsigned int)
- > string toString(unsigned);
- > ^
- > ./JDI/src/General/parse_basics.h:95:12: note: std::string parse_bacics::visible::toString(long unsigned int)
- > string toString(unsigned long);
- > ^
- > ./JDI/src/General/parse_basics.h:100:12: note: std::string parse_bacics::visible::toString(short unsigned int)
- > string toString(unsigned short);
- > ^
- > ./JDI/src/General/parse_basics.h:101:12: note: std::string parse_bacics::visible::toString(char)
- > string toString(char);
- > ^
- > ./JDI/src/General/parse_basics.h:102:12: note: std::string parse_bacics::visible::toString(char*) <near match>
- > string toString(char*);
- > ^
- > ./JDI/src/General/parse_basics.h:102:12: note: no known conversion for argument 1 from 'pt {aka long long unsigned int}' to 'char*'
- > ./JDI/src/General/parse_basics.h:103:12: note: std::string parse_bacics::visible::toString(float)
- > string toString(float);
- > ^
- > ./JDI/src/General/parse_basics.h:104:12: note: std::string parse_bacics::visible::toString(double)
- > string toString(double);
- > ^
- > ./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':
- > ./JDI/src/System/macros.cpp:198:132: error: call of overloaded 'toString(std::vector<std::basic_string<char> >::size_type)' is ambiguous
- > return errtok.report_error(herr, "Too few arguments to macro function `" + name + "': provided " + ::toString(arg_list.size()) + ", requested " + ::toString(args.size())), false;
- > ^
- > ./JDI/src/System/macros.cpp:198:132: note: candidates are:
- > In file included from ./JDI/src/System/macros.cpp:31:0:
- > ./JDI/src/General/parse_basics.h:91:12: note: std::string parse_bacics::visible::toString(int)
- > string toString(int);
- > ^
- > ./JDI/src/General/parse_basics.h:92:12: note: std::string parse_bacics::visible::toString(long int)
- > string toString(long);
- > ^
- > ./JDI/src/General/parse_basics.h:93:12: note: std::string parse_bacics::visible::toString(short int)
- > string toString(short);
- > ^
- > ./JDI/src/General/parse_basics.h:94:12: note: std::string parse_bacics::visible::toString(unsigned int)
- > string toString(unsigned);
- > ^
- > ./JDI/src/General/parse_basics.h:95:12: note: std::string parse_bacics::visible::toString(long unsigned int)
- > string toString(unsigned long);
- > ^
- > ./JDI/src/General/parse_basics.h:100:12: note: std::string parse_bacics::visible::toString(short unsigned int)
- > string toString(unsigned short);
- > ^
- > ./JDI/src/General/parse_basics.h:101:12: note: std::string parse_bacics::visible::toString(char)
- > string toString(char);
- > ^
- > ./JDI/src/General/parse_basics.h:102:12: note: std::string parse_bacics::visible::toString(char*) <near match>
- > string toString(char*);
- > ^
- > ./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*'
- > ./JDI/src/General/parse_basics.h:103:12: note: std::string parse_bacics::visible::toString(float)
- > string toString(float);
- > ^
- > ./JDI/src/General/parse_basics.h:104:12: note: std::string parse_bacics::visible::toString(double)
- > string toString(double);
- > ^
- > ./JDI/src/System/macros.cpp:198:175: error: call of overloaded 'toString(std::vector<std::basic_string<char> >::size_type)' is ambiguous
- > return errtok.report_error(herr, "Too few arguments to macro function `" + name + "': provided " + ::toString(arg_list.size()) + ", requested " + ::toString(args.size())), false;
- > ^
- > ./JDI/src/System/macros.cpp:198:175: note: candidates are:
- > In file included from ./JDI/src/System/macros.cpp:31:0:
- > ./JDI/src/General/parse_basics.h:91:12: note: std::string parse_bacics::visible::toString(int)
- > string toString(int);
- > ^
- > ./JDI/src/General/parse_basics.h:92:12: note: std::string parse_bacics::visible::toString(long int)
- > string toString(long);
- > ^
- > ./JDI/src/General/parse_basics.h:93:12: note: std::string parse_bacics::visible::toString(short int)
- > string toString(short);
- > ^
- > ./JDI/src/General/parse_basics.h:94:12: note: std::string parse_bacics::visible::toString(unsigned int)
- > string toString(unsigned);
- > ^
- > ./JDI/src/General/parse_basics.h:95:12: note: std::string parse_bacics::visible::toString(long unsigned int)
- > string toString(unsigned long);
- > ^
- > ./JDI/src/General/parse_basics.h:100:12: note: std::string parse_bacics::visible::toString(short unsigned int)
- > string toString(unsigned short);
- > ^
- > ./JDI/src/General/parse_basics.h:101:12: note: std::string parse_bacics::visible::toString(char)
- > string toString(char);
- > ^
- > ./JDI/src/General/parse_basics.h:102:12: note: std::string parse_bacics::visible::toString(char*) <near match>
- > string toString(char*);
- > ^
- > ./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*'
- > ./JDI/src/General/parse_basics.h:103:12: note: std::string parse_bacics::visible::toString(float)
- > string toString(float);
- > ^
- > ./JDI/src/General/parse_basics.h:104:12: note: std::string parse_bacics::visible::toString(double)
- > string toString(double);
- > ^
- > ./JDI/src/Storage/definition.cpp: In member function 'virtual std::string jdi::definition_template::toString(unsigned int, unsigned int)':
- > ./JDI/src/Storage/definition.cpp:695:51: error: conversion from 'jdi::value' to 'long long int' is ambiguous
- > res += " = " + ((definition_valued*)d)->value_of;
- > ^
- > ./JDI/src/Storage/definition.cpp:695:51: note: candidates are:
- > In file included from ./JDI/src/Storage/definition.h:155:0,
- > from ./JDI/src/Storage/definition.cpp:25:
- > ./JDI/src/Storage/value.h:78:5: note: jdi::value::operator const char*() const <near match>
- > operator const char* () const; ///< Cast to a const char*, returning NULL if no valid cast exists. @warning May be null. @warning Do not free.
- > ^
- > ./JDI/src/Storage/value.h:78:5: note: no known conversion for implicit 'this' parameter from 'const char*' to 'long long int'
- > ./JDI/src/Storage/value.h:77:5: note: jdi::value::operator bool() const
- > operator bool() const; ///< Cast to a boolean, returning false if no valid cast exists, true if this is a non-empty string.
- > ^
- > ./JDI/src/Storage/value.h:76:5: note: jdi::value::operator double() const
- > operator double() const; ///< Cast to a double, returning zero if no valid cast exists.
- > ^
- > ./JDI/src/Storage/value.h:75:5: note: jdi::value::operator long int() const
- > operator long() const; ///< Cast to a long int, returning zero if no valid cast exists.
- > ^
- > ./compiler/components/parse_and_link.cpp: In member function 'virtual int lang_CPP::compile_parseAndLink(EnigmaStruct*, parsed_script**)':
- > ./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}')
- > edbg << "Parsed `" << es->scripts[i].name << "': " << scripts[i]->obj.locals.size() << " locals, " << scripts[i]->obj.globals.size() << " globals" << flushl;
- > ^
- > ./compiler/components/parse_and_link.cpp:64:56: note: candidates are:
- > In file included from ./compiler/components/parse_and_link.cpp:30:0:
- > ./backend/ideprint.h:34:13: note: ideprint& ideprint::operator<<(std::string) <near match>
- > ideprint &operator<< (std::string);
- > ^
- > ./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>}'
- > ./backend/ideprint.h:35:13: note: ideprint& ideprint::operator<<(const char*) <near match>
- > ideprint &operator<< (const char* x);
- > ^
- > ./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*'
- > ./backend/ideprint.h:36:13: note: ideprint& ideprint::operator<<(void*) <near match>
- > ideprint &operator<< (void* x);
- > ^
- > ./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*'
- > ./backend/ideprint.h:37:13: note: ideprint& ideprint::operator<<(int)
- > ideprint &operator<< (int x);
- > ^
- > ./backend/ideprint.h:38:13: note: ideprint& ideprint::operator<<(long int)
- > ideprint &operator<< (long x);
- > ^
- > ./backend/ideprint.h:39:13: note: ideprint& ideprint::operator<<(unsigned int)
- > ideprint &operator<< (unsigned x);
- > ^
- > ./backend/ideprint.h:40:13: note: ideprint& ideprint::operator<<(long unsigned int)
- > ideprint &operator<< (unsigned long x);
- > ^
- > ./backend/ideprint.h:45:13: note: ideprint& ideprint::operator<<(char)
- > ideprint &operator<< (char x);
- > ^
- > ./backend/ideprint.h:46:13: note: ideprint& ideprint::operator<<(unsigned char)
- > ideprint &operator<< (unsigned char x);
- > ^
- > ./backend/ideprint.h:47:13: note: ideprint& ideprint::operator<<(double)
- > ideprint &operator<< (double x);
- > ^
- > mingw32-make.exe[1]: Leaving directory 'D:/Program Files (x86)/ENIGMA/enigma-dev/CompilerSource'
- > Makefile:6: recipe for target 'ENIGMA' failed
- > mingw32-make.exe: *** [ENIGMA] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement