Qt 6.11 is out! See what's new in the release
blog
error :-1: error: D8021 : invalid numeric argument '/Wextra'
-
iam working on project blockchain cryptocurrency
but then i compiled it and run on windows 10 64 bit , it throws error
:-1: error: D8021 : invalid numeric argument '/Wextra'can i know what it is all about
-
Hi @aminnagpure,
The problem is most likely that the project file (
*.proorCMakeLists.txt) you're using is specifying a compiler flag that is only supported by clang / gcc, but not MSVC.Specifically, the
-Wextraflag is used by clang and gcc (including MinGW) to enable extra compiler warnings. Butcl.exe(the Microsoft compiler) does not support that flag (it uses something like/W4or/Wallinstead).Have you written your own project file?
Cheers.