sizeof

Andreas Schwab schwab@linux-m68k.org
Sun May 8 17:48:19 GMT 2022


On Mai 08 2022, Simon Marchi via Gdb wrote:

> I don't really know what sizeof(int()) means anyway.

It's a GNU extension, much like sizeof(void), so that you can subtract
function pointers.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Gdb mailing list