Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 7 years ago

Language

Compiler

Options

Author

anonymous

almost 7 years ago

$
prog.cc:3:1: error: declaration of anonymous class must be a definition
class [[deprecated]] __attribute__((__type_visibility__("default"))) auto_ptr { };
^
prog.cc:3:1: warning: declaration does not declare anything [-Wmissing-declarations]
prog.cc:5:9: error: no template named 'auto_ptr'
typedef auto_ptr<int> AP;
        ^
1 warning and 2 errors generated.
Exit Code:
1