Warning for unadorned 0 in varargs lists?

Segher Boessenkool segher@kernel.crashing.org
Mon Aug 23 16:40:00 GMT 2004


>   But the C language spec says that an integer constant zero must 
> compare
> equal to a null pointer.
>
>   So why aren't we saying that the 64-bit ABIs are non-conformant?

When calling a varargs function, how would the compiler
know if the function expects a pointer (and of what type)
or an integer (of what size)?

The ABIs are fine.


Segher



More information about the Gcc mailing list