Haroldo Lage wrote :

So here is our problem, after changes in the source code, to syntax adequation. We are having problems to port an specific function, printf and scanf, due to the following error:

util.c: In function `TrataMenu':
util.c:1466: warning: conversion lacks type at end of format
util.c:1466: warning: too many arguments for format

And repeat on and on each time the following structure occurs
printf("\n\rIP[1] = ");
scanf("%h",&buffer[0]);

Unfortunately, the small C library shipped with mspgcc does not provide the scanf() function. Newlib (http://sources.redhat.com/newlib/) provides a scanf() implementation, maybe you will want to get it (some porting is needed, though).

Hope this helps.

--
Corentin Plouet <[email protected]>


Reply via email to