From: Oliver Kullmann (O.Kullmann_at_[hidden])
Date: 2005-10-21 11:32:29


On Thu, Oct 20, 2005 at 08:12:05PM +0100, Bronek Kozicki wrote:
> Oliver Kullmann wrote:
> > 22.2.2.1.2 from the C++ standard invokes scanf from the C library,
> > which then according to 7.19.6.2 from the C standard, clause 10,
> > yields undefined behaviour if the number represented in the stream is not
>
> which version of C standard is in your mind?

I have the C99 standard (as a book), while the C90 standard (I thought
it would be C89?) seems to cost a fortune.

> I believe that C90 that C++
> standard referes to, does not mention UB.
>

But then it should be the case that the C99 standard only
makes more precise what the older standard left out?

Oliver