Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 8 years ago

Language

Compiler

Options

Author

anonymous

almost 8 years ago

$
prog.cc: In constructor 'S::S(S&&)':
prog.cc:12:11: warning: unused parameter 'rhs' [-Wunused-parameter]
     S(S&& rhs)
           ^~~
prog.cc: In function 'int main()':
prog.cc:27:6: error: local external declaration 'S&& goo()' [-fpermissive]
  S&& goo();
      ^~~
prog.cc:18:3: note: does not match previous declaration 'S goo()'
 S goo()
   ^~~
Exit Code:
1