:-1: error: D8021 : invalid numeric argument '/Wextra'
-
I'm new to Qt Creator. Can anyone tell me how to fix this error? I have been looking online for hours to no avail.
-
Hi! You should provide more information.
Where and when does it occur?
Can you show the code? -
@jsulm Thanks for the reply. The code is from this Standford website: http://stanford.edu/~stepp/cppdoc/
Long story short I decided this year I'm going to learn more low level languages starting with C++ and then get into Assembly to improve my programming skills/Linkedin profile. This course was recommended to me.
Anyway, from the research I've done, I think it is because I have Visual Studios installed as well, and there is some confusion in the compiler. I can't uninstall VS because I actually use it for some other projects. Any help would be greatly appreciated.
-
VS should not be a problem. Which C++ compiler do you use? Which QtCreator and Qt did you install and how?
-
@someplaceinthemall You can try to remove this line from the *.pro file: QMAKE_CXXFLAGS += -Wextra
-
That worked. Thank you.