ltrominoes.cpp:1:40: warning: bad option '-favx' to pragma 'optimize' [-Wpragmas]
1 | #pragma GCC optimize("O3,avx,avx2,sse4")
| ^
ltrominoes.cpp:1:40: warning: bad option '-favx2' to pragma 'optimize' [-Wpragmas]
ltrominoes.cpp:1:40: warning: bad option '-fsse4' to pragma 'optimize' [-Wpragmas]
ltrominoes.cpp:12:25: warning: bad option '-favx' to attribute 'optimize' [-Wattributes]
12 | bmatrix transpose() const
| ^~~~~
ltrominoes.cpp:12:25: warning: bad option '-favx2' to attribute 'optimize' [-Wattributes]
ltrominoes.cpp:12:25: warning: bad option '-fsse4' to attribute 'optimize' [-Wattributes]
ltrominoes.cpp:21:41: warning: bad option '-favx' to attribute 'optimize' [-Wattributes]
21 | bmatrix operator*(bmatrix const &y) const
| ^~~~~
ltrominoes.cpp:21:41: warning: bad option '-favx2' to attribute 'optimize' [-Wattributes]
ltrominoes.cpp:21:41: warning: bad option '-fsse4' to attribute 'optimize' [-Wattributes]
ltrominoes.cpp:33:75: warning: bad option '-favx' to attribute 'optimize' [-Wattributes]
33 | static bitset<1 << W> pow(bitset<1 << W> v, bmatrix pow2[31], size_t n)
| ^
ltrominoes.cpp:33:75: warning: bad option '-favx2' to attribute 'optimize' [-Wattributes]
ltrominoes.cpp:33:75: warning: bad option '-fsse4' to attribute 'optimize' [-Wattributes]
ltrominoes.cpp:50:53: warning: bad option '-favx' to attribute 'optimize' [-Wattributes]
50 | bitset<1 << W> mul_vec(bitset<1 << W> const &v) const
| ^~~~~
ltrominoes.cpp:50:53: warning: bad option '-favx2' to attribute 'optimize' [-Wattributes]
ltrominoes.cpp:50:53: warning: bad option '-fsse4' to attribute 'optimize' [-Wattributes]
ltrominoes.cpp:63:10: warning: bad option '-favx' to attribute 'optimize' [-Wattributes]
63 | int main()
| ^
ltrominoes.cpp:63:10: warning: bad option '-favx2' to attribute 'optimize' [-Wattributes]
ltrominoes.cpp:63:10: warning: bad option '-fsse4' to attribute 'optimize' [-Wattributes]
ltrominoes.cpp: In function 'int main()':
ltrominoes.cpp:74:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
74 | for (size_t y = 0; y < 1 << w; ++y)
| ~~^~~~~~~~
ltrominoes.cpp:86:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
86 | if (i == (1 << w) - 1)
| ~~^~~~~~~~~~~~~~~
ltrominoes.cpp:124:51: warning: bad option '-favx' to attribute 'optimize' [-Wattributes]
124 | sort(p, p + k, [](auto const &a, auto const &b)
| ^
ltrominoes.cpp:124:51: warning: bad option '-favx2' to attribute 'optimize' [-Wattributes]
ltrominoes.cpp:124:51: warning: bad option '-fsse4' to attribute 'optimize' [-Wattributes]
ltrominoes.cpp:148:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
148 | for (size_t i = 0; i < 1 << w; ++i)
| ~~^~~~~~~~