--enable-newlib-io-c99-formats for newlib

Bug #1750359 reported by Liviu Ionescu on 2018-02-19
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNU Arm Embedded Toolchain

Bug Description

Could you consider adding `--enable-newlib-io-c99-formats` when configuring newlib?

I did a test, and it increased the text size with only 1536 bytes (from 31897 to 33433).

I think this is acceptable, given the additional formatting options.

Thank you,


Andrew Sund (asund) wrote :

I was going to ask a question about something similar, that is if "--enable-newlib-io-long-long" could be enabled in the next release. Thanks for the 64-bit time_t! It'd be nice to easily print 64-bit values.

Looking at the newlib code I don't expect this will bloat the library too much and the configuration appears to be independent of the C99 format specifier option if you decide against the parent request...

Tejas Belagod (belagod-tejas) wrote :

Liviu, I think that's a reasonable request, will look into it.

Andrew, we already enable '--enable-newlib-io-long-long'.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers