rail.cpp:4:55: warning: bad option '-f O2' to pragma 'optimize' [-Wpragmas]
4 | #pragma GCC optimize("O1, O2, O3, Ofast, unroll-loops")
| ^
rail.cpp:4:55: warning: bad option '-f O3' to pragma 'optimize' [-Wpragmas]
rail.cpp:4:55: warning: bad option '-f Ofast' to pragma 'optimize' [-Wpragmas]
rail.cpp:4:55: warning: bad option '-f unroll-loops' to pragma 'optimize' [-Wpragmas]
In file included from rail.cpp:7:
rail.h:7:66: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
7 | void findLocation(int n, int first, int location[], int stype[]);
| ^
rail.h:7:66: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
rail.h:7:66: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
rail.h:7:66: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
rail.h:7:66: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
rail.h:7:66: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
rail.h:7:66: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
rail.h:7:66: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
rail.h:9:31: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
9 | int getDistance(int i, int j);
| ^
rail.h:9:31: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
rail.h:9:31: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
rail.h:9:31: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
rail.h:9:31: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
rail.h:9:31: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
rail.h:9:31: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
rail.h:9:31: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
rail.cpp:24:64: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
24 | void findLocation(int n, int first, int location[], int stype[]) {
| ^
rail.cpp:24:64: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
rail.cpp:24:64: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
rail.cpp:24:64: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]