Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C++

Compiler

gcc HEAD 9.0.0 20181105 (experimental)

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

Author

anonymous

over 6 years ago

$ g++ prog.cc -Wall -Wextra -O2 -march=native -std=c++2a -pedantic -pthread
prog.cc:1:1: error: 'string' does not name a type
    1 | string implode(const std::vector<string>& vec, const char* delim)
      | ^~~~~~
prog.cc: In function 'int main()':
prog.cc:11:13: error: 'v_netw_seg' was not declared in this scope
   11 |     implode(v_netw_seg, &delimiter);
      |             ^~~~~~~~~~
prog.cc:11:5: error: 'implode' was not declared in this scope
   11 |     implode(v_netw_seg, &delimiter);
      |     ^~~~~~~
Exit Code:
1