Author
anonymous
about 8 years ago
$
prog.cc: In function 'int main()': prog.cc:8:12: warning: format '%p' expects argument of type 'void*', but argument 2 has type 'void (S::*)()' [-Wformat=] printf("%p\n", &S::Method); ^~~~~~ 0x40088c 1
prog.cc: In function 'int main()': prog.cc:8:12: warning: format '%p' expects argument of type 'void*', but argument 2 has type 'void (S::*)()' [-Wformat=] printf("%p\n", &S::Method); ^~~~~~
0x40088c 1