Hi John,

to get this right - you would like to keep the original uSTL #if ... definitions in the uSTL source instead of my #if defined ... changes and to define the macros to 0 in config.h so that the changes to uSTL source are kept to a minimum and most of the changes are in eCos specific config.h file? But you would prefer to see my #if defined ... changes in the official uSTL tree of Mike Sharov?

> I agree. Option 1 seems best. At some point in the future, C99
> vsnprintf() behaviour can become the default.

O.k., i will provide a patch.

> You may find that there are so many dependencies that this makes no
> sense, but it is worth investigating.

I already tried this but it is hard to track all dependencies. Therefore I would propose the following strategy:

Step 1:
If I implemented all of your change requests the uSTL library goes into the eCos CVS

Step 2:
If the uSTL library is in the eCos CVS it can be optimized by me or by other users by making the package more configurable.

A last question. The uSTL eCos package contains a stdint.h file because eCos libc does not provide one. Would you prefer to see this file in the libc library or should it stay in uSTL package.

Regards, Uwe

Reply via email to