Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 5 years ago

Language

C++

Compiler

clang HEAD 13.0.0 (https://github.com/llvm/llvm-project.git c4ed142e695f14ba5675ec6d12226ee706329a0f)

Options
Warnings
Boost 1.73.0
C++2b(GNU)
no pedantic
Raw compiler options
-mavx2

Author

anonymous

almost 5 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=gnu++2b -mavx2
prog.cc:20:12: error: no matching function for call to 'rotr'
    return rotr(x, 7);
           ^~~~
prog.cc:13:18: note: candidate template ignored: could not match '<type-parameter-0-0>' against '__attribute__((__vector_size__(8 * sizeof(unsigned int)))) unsigned int' (vector of 8 'unsigned int' values)
constexpr vec<T> rotr(Cont<T> x, int)
                 ^
1 error generated.
Exit Code:
1