Page 1 of 1

*printf() may not return the number of characters written

Posted: Wed Aug 22, 2007 1:19 pm
by dom
This only occurs if the mini* variety of *printf() is linked in, i.e. nowhere in the program are longs or doubles *printf()'d.

The problem lies with this file: http://z88dk.cvs.sourceforge.net/z88dk/ ... iew=markup which just returns 0.

No fix is available yet for this issue. A possible workaround is to include the following pragma in your code:

Code: Select all

#pragma output complexstdio