Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22087

GCC Werror flag leads to "no option" error

$
0
0

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

Viewing all articles
Browse latest Browse all 22087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>