Forum : ARM
Original Post
Post Information | Post |
---|---|
August 14, 2008 - 5:24pm
|
Hello, Using Ride7 7.01.002 with RKitARM 1.03.004, compiling with small printf : DOES NOT work: (Build failed) printf("x"); // or any single char, could be "5","g" and so on, no specific relation to "%x" DO work: printf("xx"); // more than one single char Any hints about this situation ? Regards, |
In what way does it "fail" - what message(s) do you get?
I obtain the following messages :
Any idea ?
Sorry about the stupid emoticons, i saw them after posting the error messages...
you can use the "["code"]" ..."["/code"]" tags (remove the quotes) to prevent the emoticons...
I edited your message accordingly.
I guess that the front-end of the compiler replaces printf("x"); by a direct single-char write that in some way is not the same as our putchar...
We will need more time to invetigate on this, so for now I suggest that you replace
printf("x");
by
putchar('x');
VincentC
Thank you for the advices.
I found strange that using printf() with a single char caused such a behavior.
Anyway, i'm just an hardware guy wandering outside his territory...
Thank your !