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

 
 

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

Submitted by:  None
Submitted on:  Tue 15 Mar 2005 08:06:32 PM UTC  
 
Category: LibrarySeverity: 2 - Minor
Priority: 5 - NormalItem Group: None
Status: FixedPercent Complete: 100%
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Email: -unavailable-
Open/Closed: ClosedRelease: None
Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 06 Sep 2005 07:37:30 PM UTCjoerg_wunschStatusNone=>Fixed
  Percent Complete20%=>100%
  Open/ClosedOpen=>Closed
Tue 15 Mar 2005 09:34:47 PM UTCjoerg_wunschSeverity3 - Normal=>2 - Minor
  Assigned toNone=>joerg_wunsch
Tue 15 Mar 2005 08:06:32 PM UTCNoneCarbon-Copy-=>Added bjoern --PUNKT-- m --PUNKT-- haase --AT-- web --PUNKT-- de

Back to the top


Powered by Savane 3.1-cleanup1