Hi ! help please

Vincent Diepeveen diep@xs4all.nl
Fri Jan 1 16:03:00 GMT 2016


If result returns integer it's ok.
If it returns a Long you are in trouble usually as then it has to compare 
with

0L

unsigned long or 64 bits unsigned:

0ULL

On Fri, 1 Jan 2016, user user wrote:

> Hi ! help please
> if((result=f())==0)
> is Undefined behavior ?
>



More information about the Gcc-help mailing list