Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 8 years ago

Language

Compiler

Options

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
Exit Code:
0