Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 7 years ago

Language

C++

Compiler

clang HEAD 7.0.0 (https://github.com/llvm-mirror/clang.git 9c99d48420e3e22a640d85bd883e4d63519a27f4) (https://github.com/llvm-mirror/llvm.git 071f23bbb928a2aee9f021078aaf5674526fc7d2)

Options
Warnings
Don't Use Boost
C++2a
no pedantic

Author

anonymous

almost 7 years ago

$ clang++ prog.cc -Wall -Wextra -std=c++2a
prog.cc:43:18: warning: unused variable 'copy' [-Wunused-variable]
        _Derived copy = *static_cast<_Derived const*>(this);
                 ^
prog.cc:57:7: note: in instantiation of member function '__set_node_handle_specifics<__set_node_type, __basic_node_handle<__set_node_type, std::__1::allocator<int>, __set_node_handle_specifics> >::value' requested here
  xx1.value();
      ^
prog.cc:26:18: warning: unused variable 'copy' [-Wunused-variable]
        _Derived copy = *static_cast<_Derived const*>(this);
                 ^
prog.cc:60:7: note: in instantiation of member function '__map_node_handle_specifics<__map_node_type, __basic_node_handle<__map_node_type, std::__1::allocator<int>, __map_node_handle_specifics> >::key' requested here
  zz1.key();
      ^
prog.cc:32:18: warning: unused variable 'copy' [-Wunused-variable]
        _Derived copy = *static_cast<_Derived const*>(this);
                 ^
prog.cc:61:7: note: in instantiation of member function '__map_node_handle_specifics<__map_node_type, __basic_node_handle<__map_node_type, std::__1::allocator<int>, __map_node_handle_specifics> >::mapped' requested here
  zz1.mapped();
      ^
3 warnings generated.
Exit Code:
0