Arduino Forum

Products => Arduino Yún => Topic started by: zixzixzix on Mar 03, 2014, 02:47 pm

Title: 1.5.5 Verity error but no proplem 1.0.5.
Post by: zixzixzix on Mar 03, 2014, 02:47 pm
Arduino:1.5.5 (Mac OS X), ??"Arduino Uno"

/Users/zix/Documents/Arduino/libraries/LeweiTcpClient/LeweiTcpClient.cpp: In member function 'void LeweiTcpClient::readRom()':
/Users/zix/Documents/Arduino/libraries/LeweiTcpClient/LeweiTcpClient.cpp:215: error: ambiguous overload for 'operator=' in 'tmp = 0'
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:86: note: candidates are: String& String::operator=(const String&)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:87: note:                 String& String::operator=(const char*)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:88: note:                 String& String::operator=(const __FlashStringHelper*)
/Users/zix/Documents/Arduino/libraries/LeweiTcpClient/LeweiTcpClient.cpp: In member function 'void LeweiTcpClient::listenServer()':
/Users/zix/Documents/Arduino/libraries/LeweiTcpClient/LeweiTcpClient.cpp:260: error: ambiguous overload for 'operator=' in 'clientStr = 0'
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:86: note: candidates are: String& String::operator=(const String&)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:87: note:                 String& String::operator=(const char*)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:88: note:                 String& String::operator=(const __FlashStringHelper*)
/Users/zix/Documents/Arduino/libraries/LeweiTcpClient/LeweiTcpClient.cpp: In member function 'void LeweiTcpClient::getResponse()':
/Users/zix/Documents/Arduino/libraries/LeweiTcpClient/LeweiTcpClient.cpp:344: error: ambiguous overload for 'operator=' in '((LeweiTcpClient*)this)->LeweiTcpClient::_clientStr = 0'
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:86: note: candidates are: String& String::operator=(const String&)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:87: note:                 String& String::operator=(const char*)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:88: note:                 String& String::operator=(const __FlashStringHelper*)
/Users/zix/Documents/Arduino/libraries/LeweiTcpClient/LeweiTcpClient.cpp:408: error: ambiguous overload for 'operator=' in 'functionName = 0'
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:86: note: candidates are: String& String::operator=(const String&)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:87: note:                 String& String::operator=(const char*)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:88: note:                 String& String::operator=(const __FlashStringHelper*)
/Users/zix/Documents/Arduino/libraries/LeweiTcpClient/LeweiTcpClient.cpp:429: error: ambiguous overload for 'operator=' in '((LeweiTcpClient*)this)->LeweiTcpClient::_clientStr = 0'
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:86: note: candidates are: String& String::operator=(const String&)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:87: note:                 String& String::operator=(const char*)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:88: note:                 String& String::operator=(const __FlashStringHelper*)
/Users/zix/Documents/Arduino/libraries/LeweiTcpClient/LeweiTcpClient.cpp: In member function 'String LeweiTcpClient::getParaValueStr(String&, String)':
/Users/zix/Documents/Arduino/libraries/LeweiTcpClient/LeweiTcpClient.cpp:450: error: conversion from 'int' to 'String' is ambiguous
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:61: note: candidates are: String::String(const __FlashStringHelper*)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:59: note:                 String::String(const char*)
/Users/zix/Documents/Arduino/libraries/LeweiTcpClient/LeweiTcpClient.cpp: In member function 'void LeweiTcpClient::sendSensorValue(String, String)':
/Users/zix/Documents/Arduino/libraries/LeweiTcpClient/LeweiTcpClient.cpp:557: error: ambiguous overload for 'operator=' in 'connStr = 0'
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:86: note: candidates are: String& String::operator=(const String&)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:87: note:                 String& String::operator=(const char*)
/Applications/Arduinoyun.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/WString.h:88: note:                 String& String::operator=(const __FlashStringHelper*)

  ???????????
  "Show verbose output during compilation"
  ? ??>??? ???
Title: Re: 1.5.5 Verity error but no proplem 1.0.5.
Post by: PCWorxLA on Mar 04, 2014, 01:44 am
Well, not knowing what code you are trying to compile, but seeing that you mention "Uno" in the first line, how is this all related to the Uno?
(And yes, I can compile/verify for my Uno/Leonardo/Mega2560/etc in 1.5.5 (or now actually 1.5.6) just fine, not only for the Yun)

Ralf