error :-1: error: D8021 : invalid numeric argument '/Wextra'
aminnagpure last edited by
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
VRonin last edited by
Looks like you have a
'/Wextra'in your code where you probably wanted
Paul Colby last edited by
The problem is most likely that the project file (
CMakeLists.txt) you're using is specifying a compiler flag that is only supported by clang / gcc, but not MSVC.
-Wextraflag is used by clang and gcc (including MinGW) to enable extra compiler warnings. But
cl.exe(the Microsoft compiler) does not support that flag (it uses something like
Have you written your own project file?