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 cd1a1e62e2684a985f8e6ebcc40b67e5e7467a93) (https://github.com/llvm-mirror/llvm.git 0794ff58c3221f4dfcf38b835215d7e0b7f05c0e)

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:4:14: warning: unused parameter 'tmp' [-Wunused-parameter]
int dummy (T tmp, void (*callback)(std::type_identity_t<T> input)) {
             ^
prog.cc:13:20: warning: unused parameter 'input' [-Wunused-parameter]
void callback (int input) {
                   ^
prog.cc:19:35: warning: unused parameter 'input' [-Wunused-parameter]
    auto callback_lambda = [](int input) -> void {
                                  ^
3 warnings generated.
Exit Code:
0