Author
anonymous
about 7 years ago
Language
Compiler
Options
Author
anonymous
about 7 years ago
$
clang version 7.0.0 (https://github.com/llvm-mirror/clang.git f8a103739edc2c261953cbc10cffc29e12122880) (https://github.com/llvm-mirror/llvm.git 9de0bdbba70a26f924a36b49242fe94f3f76a3d7)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/wandbox/clang-head/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.0.0
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
Candidate multilib: .;@m64
Selected multilib: .;@m64
"/opt/wandbox/clang-head/bin/clang-7.0" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name prog.cc -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -nostdinc++ -resource-dir /opt/wandbox/clang-head/lib/clang/7.0.0 -I /opt/wandbox/clang-head/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/src -I /opt/wandbox/cmcstl2/include -D BOOST_NO_AUTO_PTR -I /opt/wandbox/boost-1.66.0/clang-head/include -internal-isystem /usr/local/include -internal-isystem /opt/wandbox/clang-head/lib/clang/7.0.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wall -Wextra -std=c++14 -fdeprecated-macro -fdebug-compilation-dir /home/jail -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -fansi-escape-codes -o /tmp/prog-0f2030.o -x c++ prog.cc
clang -cc1 version 7.0.0 based upon LLVM 7.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/opt/wandbox/nlohmann-json/src"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
/opt/wandbox/clang-head/include/c++/v1
/opt/wandbox/boost-sml/include
/opt/wandbox/boost-di/include
/opt/wandbox/range-v3/include
/opt/wandbox/cmcstl2/include
/opt/wandbox/boost-1.66.0/clang-head/include
/opt/wandbox/clang-head/lib/clang/7.0.0/include
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
prog.cc:27:23: error: implicit instantiation of undefined template 'std::__1::array<XmlState, 1>'
U_StateArray m_states;
^
prog.cc:37:21: note: in instantiation of template class 'XmlParser<1>' requested here
XmlParser<1> test {
^
/opt/wandbox/clang-head/include/c++/v1/__tuple:223:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
^
prog.cc:31:45: error: implicit instantiation of undefined template 'std::__1::array<XmlState, 1>'
(std::initializer_list<typename U_StateArray::value_type> states)
^
/opt/wandbox/clang-head/include/c++/v1/__tuple:223:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
^
2 errors generated.
Exit Code:
1