I'm discussing something elsewhere and looking for a reference to how void is resolved to a true/false value. e.g.
void func1(void) { ... } void main(void) { while (func1) { ... } }
avr-g++ compiles it but warns:
/Users/xxx/Documents/Arduino/temp1/temp1.ino:24:10: warning: the address of 'void display()' will never be NULL [-Waddress]
while (display) {
^~~~~~~
Running the program, the while loop never exits, so I assume void resolves to a non-zero value i.e. it's 'true' because it's 'not false'. But I can't find a reference to this, and my google skills are failing me.