Language
C++
Compiler
clang 10.0.0
Options
Warnings
Don't Use Boost
C++2a(GNU)
-pedantic
Raw compiler options
B.cpp
$ clang++ prog.cc -Wall -Wextra -std=gnu++2a -pedantic B.cpp
Exit Code:
1
Author
anonymous
almost 5 years ago
C++
clang 10.0.0
Author
anonymous
almost 5 years ago
$ clang++ prog.cc -Wall -Wextra -std=gnu++2a -pedantic B.cpp
/tmp/B-2cb701.o:(.rodata+0x0): multiple definition of `ir'
/tmp/prog-d51dac.o:(.rodata+0x0): first defined here
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)