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 59f2009cd157fc96a0d558125405b98586cd83d2) (https://github.com/llvm-mirror/llvm.git 6a6735dc5864d58fa2735763609b42c59a520184)

Options
Warnings
Don't Use Boost
C++2a(GNU)
no pedantic
Raw compiler options
--analyze

Author

anonymous

about 6 years ago

$ clang++ prog.cc -Wall -Wextra -std=gnu++2a --analyze
clang-9: warning: -Wl,-rpath,/opt/wandbox/clang-head/lib: 'linker' input unused [-Wunused-command-line-argument]
clang-9: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument]
clang-9: warning: -lc++abi: 'linker' input unused [-Wunused-command-line-argument]
clang-9: warning: argument unused during compilation: '-L/opt/wandbox/clang-head/lib' [-Wunused-command-line-argument]
clang-9: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
prog.cc:9:9: warning: Null pointer passed as an argument to a 'nonnull' parameter
    if (dummyStrlen (s) > 0) printf ("length OK");
        ^~~~~~~~~~~~~~~
1 warning generated.
execve: Permission denied
Exit Code:
1