FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1007 : compiler error in mobile-processing 0007 on windows xp
Last modified: 2008-11-11 05:02
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
INVALID -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
pp
Assigned To:
pp
Attachment
Type
Created
Size
Actions
code generating the copiler error
application/octet-stream
2008-11-10 13:24
161 bytes
shortest code to generate the error
application/octet-stream
2008-11-11 00:06
48 bytes
same attachment, trying to take the bug myself...
application/octet-stream
2008-11-11 01:13
45 bytes
Description
: Opened: 2008-11-10 13:22
Assertion failed: append_method && "unable to find method for string buffer
concatenation", file ../../jikes/src/bytecode.cpp, line 6148
in code:
-------------
PFont font;
double coords = 0;
void setup() {
font = loadFont();
textFont(font);
}
void draw() {
text("L:" + coords, width/2, height/2-10);
}
------------
probably the setup stuff is not needed either, but I'm no processing
expert... :-)
Peter
Additional Comment
#1 From pp 2008-11-10 13:24
edit
]
code generating the copiler error
Additional Comment
#2 From pp 2008-11-11 00:06
edit
]
shortest code to generate the error
changing the float to a double generates the same error, changing it to an int
or boolean seems to be ok, then it works as supposed to...
Additional Comment
#3 From pp 2008-11-11 01:10
The problem seems to be in the CLDC version. Apparently the float (and
double) type is not supported by default. When switching to CLDC 1.1 in the
preferences, the "bug" disappears.
Sorry for the possibly extra effort I put people through....
Additional Comment
#4 From pp 2008-11-11 01:13
edit
]
same attachment, trying to take the bug myself...
Additional Comment
#5 From fry 2008-11-11 05:02
Sorry, we don't handle bugs for mobile Processing inside the bugs database.
You can use this forum to file bugs:
http://mobile.processing.org/discourse/YaBB.cgi?board=softbugs