Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 3 years ago

Language

C++

Compiler

clang HEAD 16.0.0 (https://github.com/llvm/llvm-project.git 28733d86cf7bf3e4e9667654ad6785aa8e21e04f)

Options
Warnings
Don't Use Boost
C++2b(GNU)
no pedantic
Raw compiler options
-mbmi2 -O2 -c -S -std=c++17

Author

anonymous

about 3 years ago

$ clang++ prog.cc -Wall -Wextra -std=gnu++2b -mbmi2 -O2 -c -S -std=c++17
clang-16: warning: -Wl,-rpath,/opt/wandbox/clang-head/lib: 'linker' input unused [-Wunused-command-line-argument]
clang-16: warning: -Wl,-rpath,/opt/wandbox/clang-head/lib/x86_64-unknown-linux-gnu: 'linker' input unused [-Wunused-command-line-argument]
clang-16: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument]
clang-16: warning: -lc++abi: 'linker' input unused [-Wunused-command-line-argument]
clang-16: warning: argument unused during compilation: '-L/opt/wandbox/clang-head/lib' [-Wunused-command-line-argument]
clang-16: warning: argument unused during compilation: '-L/opt/wandbox/clang-head/lib/x86_64-unknown-linux-gnu' [-Wunused-command-line-argument]
clang-16: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
prog.cc:2:18: warning: '_ExtInt' is deprecated; use '_BitInt' instead [-Wdeprecated-type]
typedef unsigned _ExtInt(256) uint256_t; // 256bit符号無し整数
                 ^~~~~~~
                 _BitInt
prog.cc:2:1: error: unsigned _BitInt of bit sizes greater than 128 not supported
typedef unsigned _ExtInt(256) uint256_t; // 256bit符号無し整数
^
prog.cc:3:18: warning: '_ExtInt' is deprecated; use '_BitInt' instead [-Wdeprecated-type]
typedef unsigned _ExtInt(256+64) uint320_t; // 32bit符号無し整数
                 ^~~~~~~
                 _BitInt
prog.cc:3:1: error: unsigned _BitInt of bit sizes greater than 128 not supported
typedef unsigned _ExtInt(256+64) uint320_t; // 32bit符号無し整数
^
prog.cc:10:21: warning: shift count >= width of type [-Wshift-count-overflow]
  return uint64_t(z >> 256);
                    ^  ~~~
3 warnings and 2 errors generated.
Exit Code:
1