messy.cpp:4:55: warning: bad option '-f O2' to pragma 'optimize' [-Wpragmas]
4 | #pragma GCC optimize("O1, O2, O3, Ofast, unroll-loops")
| ^
messy.cpp:4:55: warning: bad option '-f O3' to pragma 'optimize' [-Wpragmas]
messy.cpp:4:55: warning: bad option '-f Ofast' to pragma 'optimize' [-Wpragmas]
messy.cpp:4:55: warning: bad option '-f unroll-loops' to pragma 'optimize' [-Wpragmas]
In file included from messy.cpp:7:
messy.h:6:31: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
6 | void add_element(std::string x);
| ^
messy.h:6:31: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
messy.h:6:31: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
messy.h:6:31: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
messy.h:6:31: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
messy.h:6:31: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
messy.h:6:31: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
messy.h:6:31: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
messy.h:7:33: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
7 | bool check_element(std::string x);
| ^
messy.h:7:33: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
messy.h:7:33: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
messy.h:7:33: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
messy.h:7:33: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
messy.h:7:33: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
messy.h:7:33: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
messy.h:7:33: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
messy.h:8:18: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
8 | void compile_set();
| ^
messy.h:8:18: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
messy.h:8:18: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
messy.h:8:18: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
messy.h:8:18: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
messy.h:8:18: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
messy.h:8:18: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
messy.h:8:18: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
messy.h:10:57: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
10 | std::vector<int> restore_permutation(int n, int w, int r);
| ^
messy.h:10:57: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
messy.h:10:57: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
messy.h:10:57: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
messy.h:10:57: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
messy.h:10:57: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
messy.h:10:57: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
messy.h:10:57: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
messy.cpp:50:52: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
50 | vector<int> restore_permutation(int n, int w, int r) {
| ^
messy.cpp:50:52: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
messy.cpp:50:52: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
messy.cpp:50:52: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]