Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.0 20190520 (experimental)

Options
Warnings
Optimization
Don't Use Boost
C++2a
no pedantic
Raw compiler options
-pedantic -pthread

Author

anonymous

about 6 years ago

$ g++ prog.cc -Wall -Wextra -O2 -march=native -std=c++2a -pedantic -pthread
prog.cc:1:47: error: expected class-name before '{' token
    1 | class AboutController : public BaseController {
      |                                               ^
prog.cc: In constructor 'AboutController::AboutController()':
prog.cc:3:32: error: class 'AboutController' does not have any field named 'BaseController'
    3 |     inline AboutController() : BaseController() {}
      |                                ^~~~~~~~~~~~~~
Exit Code:
1