Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.0 20190527 (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: In function 'int main(int, char**)':
prog.cc:7:14: warning: unused parameter 'argc' [-Wunused-parameter]
    7 | int main(int argc, char *argv[]){
      |          ~~~~^~~~
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Signal:
Aborted