[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#485135: To fail or misbehave



#include <hallo.h>
* Bastian Blank [Fri, Jul 18 2008, 03:37:39PM]:

> > But if you don't check it and rely on the function to do what it has
> > to do (i.e. write the result into the buffer in the argument) then you
> > silently get a buffer with undefined data back (most likely
> > unchanged).
> 
> No. You have to force the compiler somehow to override the error on the
> undefined conversion. This is a bug in your code then.

I sense some misunderstanding... did you miss the "if you don't check
the return code" part?

No conversion happens because there is no conversion to be applied, just
because there is no LVALUE.

Regards,
Eduard.

-- 
<Salz> jjFux: Ted hieß ja früher auch Walther
<Salz> winkiller: hm... es sind 8... die 7 kandidaten und NOTA
<Madkiss> Ist der jetzt eigentlich eine gespaltene Persönlichkeit, bei der aber
  beide Teile bekloppt sind?



Reply to: