boromo / arduino-tiny

Automatically exported from code.google.com/p/arduino-tiny
Other
0 stars 0 forks source link

Is new arduino.tiny 1.0 really 1.0 compatible? #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Make with tiny core including Arduino1.0 that referencesPrint.h
2.
3.

What is the expected output? What do you see instead?
Compile files due to cast differences. arduino.tiny's casts do not match the 
arduino1.0's casts. Specifically, may observed failures is:
/home/user/arduino/arduino-1.0/libraries/SoftwareSerial/SoftwareSerial.h:92: 
error: conflicting return type specified for ‘virtual size_t 
SoftwareSerial::write(uint8_t)’
/home/user/arduino/arduino-1.0/hardware/tiny/cores/tiny/Print.h:71: error:   
overriding ‘virtual void Print::write(uint8_t)’

What version of the product are you using? On what operating system?
arduino-tiny-0100-0010 on Linux amd64 (2.6.32-34-generic #77-Ubuntu SMP Tue Sep 
13 19:39:17 UTC 2011 x86_64 GNU/Linux) and Arduino1.0

Please provide any additional information below.

Original issue reported on code.google.com by comer.edward on 15 Feb 2012 at 3:42

GoogleCodeExporter commented 8 years ago
This breaks anything that uses Stream.h, which references Print.h.

This means that SoftwareSerial and Wire doesn't work :-/

Original comment by thinkoft...@gmail.com on 22 Apr 2012 at 10:14

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This is a duplicate of Issue 49 or rather the root cause for Issue 49

Original comment by PeterJak...@googlemail.com on 6 Jun 2012 at 1:50

GoogleCodeExporter commented 8 years ago

Original comment by arduino....@gmail.com on 31 Jul 2012 at 7:06