bugAVR C Runtime Library - Bugs: bug #12333, Standard requires libstdc to...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #12333: Standard requires libstdc to define vprintf and vscanf

Submitter:  None
Submitted:  Tue 15 Mar 2005 08:06:32 PM UTC
   
 
Category:  Library Severity:  2 - Minor
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  joerg_wunsch
Percent Complete:  100% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  None

Tue 15 Mar 2005 08:06:32 PM UTC, original submission:  

Some of the test cases of the gcc test suite require the presence of vprintf and vscanf. The functionality is there.  The only thing missing is the wrapper function calling fprintf and fscanf. :-).

Find enclosed Jörg's mail.

Yours,

Björn




As Björn Haase wrote:

> I think that it is not extremely urgent to clean-up this point, but
> I think that it would be helpful if the next time someone is
> changing something in stdio.h, the above addition could be
> incorporated (I'm not having a cvs checked-out avr-libc at this
> machine, so I can't easily prepare a proper patch).


Please file a bug report for it, to ensure it won't be forgotten.

As vprintf() is mandated by the standard and it's not a big deal to
provide it, it will be done.  Since function-alike macros need to be
backed by actual functions in the library anyway (so you can #undef
the macro, e.g. in order to pass a pointer to the function around),
I'll probably opt for only implementing it as a wrapper function.
Should not matter much for your purpose.

p.s.: The same applies to vscanf().
--
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-09-06 joerg_wunsch StatusNone Fixed
    Percent Complete20% 100%
    Open/ClosedOpen Closed
2005-03-15 joerg_wunsch Severity3 - Normal 2 - Minor
    Assigned toNone joerg_wunsch
2005-03-15 None Carbon-Copy- Added bjoern --PUNKT-- m --PUNKT-- haase --AT-- web --PUNKT-- de

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code