Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

clang HEAD 9.0.0 (https://github.com/llvm-mirror/clang.git 17a18e2cfb860957b51923f1e5f01287f871653d) (https://github.com/llvm-mirror/llvm.git 027fc20f65ade177ddfdf1bdb3e59cc515fe8f10)

Options
Warnings
Boost 1.69.0
C++2a(GNU)
no pedantic

Author

anonymous

about 6 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/clang-head/include -std=gnu++2a
prog.cc:8:33: warning: unused parameter 't' [-Wunused-parameter]
    void doSomething(const int& t) override {
                                ^
prog.cc:12:35: warning: unused parameter 't' [-Wunused-parameter]
    void doSomething(int* const & t) override { 
                                  ^
prog.cc:17:14: warning: unused variable 'd1' [-Wunused-variable]
    Derived1 d1;
             ^
prog.cc:18:14: warning: unused variable 'd2' [-Wunused-variable]
    Derived2 d2;
             ^
4 warnings generated.
Exit Code:
0