I found the Wabsolute-value warning which I want to use as an error. However I get
cc1.exe:-1: error: error: -Werror=absolute-value: no option -Wabsolute-value
When I try the warning itself, I get :
:-1: error: error: unrecognized command line option '-Wabsolute-value'; did you mean '-Wunused-value'?
I am using GCC on Windows 10. Calling gcc --version
in cmd
gives :
g++ (i686-posix-dwarf-rev0, Built by MinGW-W64 project) 7.3.0