Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C++

Compiler

gcc HEAD 9.0.0 20181026 (experimental)

Options
Warnings
Boost 1.68.0
C++2a(GNU)
no pedantic

Author

anonymous

over 6 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-head/include -std=gnu++2a
prog.cc: In instantiation of 'void Timer::setInterval(Function, int) [with Function = main()::<lambda()>]':
prog.cc:44:12:   required from here
prog.cc:29:34: warning: unused parameter 'function' [-Wunused-parameter]
   29 | void Timer::setInterval(Function function, int interval) {
      |                         ~~~~~~~~~^~~~~~~~
prog.cc:29:48: warning: unused parameter 'interval' [-Wunused-parameter]
   29 | void Timer::setInterval(Function function, int interval) {
      |                                            ~~~~^~~~~~~~
Hey.. After 5.2s. But I will stop the timer!
Signal:
Killed