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:18:17: error: no member named 'operator auto' in 'Base'
    using Base::operator auto;
          ~~~~~~^
prog.cc:32:3: error: cannot cast from type 'Derived' to pointer type 'int *'
  static_cast<int*>(d);
  ^~~~~~~~~~~~~~~~~~~~
prog.cc:33:3: warning: expression result unused [-Wunused-value]
  static_cast<float>(d);
  ^~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
Exit Code:
1