Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 5 years ago

Language

C++

Compiler

clang 3.1

Options
Warnings
Don't Use Boost
C++11(GNU)
no pedantic

Author

anonymous

about 5 years ago

$ clang++ prog.cc -Wall -Wextra -std=gnu++11
prog.cc:1:6: error: variable has incomplete type 'void'
void set<U+0421>haracter()
     ^
prog.cc:1:9: error: expected ';' after top level declarator
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Stack dump:
0.	Program arguments: /opt/wandbox/clang-3.1/bin/clang-3.1 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name prog.cc -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -momit-leaf-frame-pointer -resource-dir /opt/wandbox/clang-3.1/bin/../lib/clang/3.1 -I /opt/wandbox/clang-3.1/include/c++/v1 -I /opt/wandbox/boost-sml/include -I /opt/wandbox/boost-di/include -I /opt/wandbox/range-v3/include -I /opt/wandbox/nlohmann-json/include -I /opt/wandbox/cmcstl2/include -I /opt/wandbox/te/include -I /usr/include/c++/5 -I /usr/include/x86_64-linux-gnu/c++/5 -fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/x86_64-linux-gnu -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/backward -internal-isystem /usr/local/include -internal-isystem /opt/wandbox/clang-3.1/bin/../lib/clang/3.1/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wall -Wextra -std=gnu++11 -fdeprecated-macro -ferror-limit 19 -fmessage-length 0 -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/prog-2NbwWs.o -x c++ prog.cc 
1.	prog.cc:1:9: current parser token '�'
clang-3: error: unable to execute command: Aborted (core dumped)
clang-3: error: clang frontend command failed due to signal (use -v to see invocation)
clang-3: note: diagnostic msg: Please submit a bug report to  and include command line arguments and all diagnostic information.
clang-3: note: diagnostic msg: Preprocessed source(s) and associated run script(s) are located at:
clang-3: note: diagnostic msg: /tmp/prog-aDJ4hC.ii
clang-3: note: diagnostic msg: /tmp/prog-aDJ4hC.sh
Exit Code:
254