double casts

D

Dan Pop

In said:
the register mix-up I was talking about can't happen. But when the
compiler is evaluating function calls, it doesn't necessarily "know" how
the return values of the functions will be used.

Of course it knows how the return value is going to be used, but it
doesn't know how the function *really* returns this value, it has to
believe the function declaration currently in scope (which may be implicit
in C89). And if you lie to the compiler...

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,093
Messages
2,570,613
Members
47,230
Latest member
RenaldoDut

Latest Threads

Top