Open SoothingMist opened 3 years ago
The flag in question is in the .pro file, you would change that file.
The compiler flag is supported by GCC, but not Visual Studio.
Bill Vaglienti 541 399 7883
On Fri, Mar 5, 2021 at 12:39 PM Peter Raeth notifications@github.com wrote:
Getting this error on attempt to build:
👎 error: D8021 : invalid numeric argument '/Wno-unused-parameter'
Using Visual Studio Community through Qt Creator 4.14.1. Installed Qt for this build system.
The fix offered by this site, https://stackoverflow.com/questions/13717551/1cl-command-line-error-d8021-invalid-numeric-argument-wno-deprecated-er, says:
By examining project properties (Configuration Properties-> C/C++ ->Command Line) it appears that there are some unwanted flags that look like:
"/Zm1000 -Wno-deprecated -mwin32 -mthreads /bigobj"
just remove the marked flag, compilation completes correctly.
However, I do not see a Qt menu option for Configuration Properties. Has this issue been encountered before? How does one resolve?
Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/billvaglienti/QtGauges/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSZMHSGQ7XHC3X7PKELWGLTCEXQ7ANCNFSM4YVY7QTQ .
Thank you very much for this important information.
---------- Original Message ---------- From: Bill Vaglienti @.> To: billvaglienti/QtGauges @.> Cc: Peter Raeth @.>, Author @.> Subject: Re: [billvaglienti/QtGauges] Project will not build in Qt Creator 4.14.1 (#1) Date: Fri, 05 Mar 2021 13:02:31 -0800
The flag in question is in the .pro file, you would change that file.
The compiler flag is supported by GCC, but not Visual Studio.
Bill Vaglienti 541 399 7883
On Fri, Mar 5, 2021 at 12:39 PM Peter Raeth @.***> wrote:
Getting this error on attempt to build:
👎 error: D8021 : invalid numeric argument '/Wno-unused-parameter'
Using Visual Studio Community through Qt Creator 4.14.1. Installed Qt for this build system.
The fix offered by this site, https://stackoverflow.com/questions/13717551/1cl-command-line-error-d8021-invalid-numeric-argument-wno-deprecated-er, says:
By examining project properties (Configuration Properties-> C/C++ ->Command Line) it appears that there are some unwanted flags that look like:
"/Zm1000 -Wno-deprecated -mwin32 -mthreads /bigobj"
just remove the marked flag, compilation completes correctly.
However, I do not see a Qt menu option for Configuration Properties. Has this issue been encountered before? How does one resolve?
Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/billvaglienti/QtGauges/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSZMHSGQ7XHC3X7PKELWGLTCEXQ7ANCNFSM4YVY7QTQ .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Sponsored by https://www.newser.com/?utm_source=part&utm_medium=uol&utm_campaign=rss_taglines_more
US Awaits Reply From North Korea http://thirdpartyoffers.juno.com/TGL3131/604e4d45dd0734d4546acst02vuc1 Reports of Side Effects Halt COVID Vaccine Use in Ireland http://thirdpartyoffers.juno.com/TGL3131/604e4d46c7924d4546acst02vuc2 Biden Deploys FEMA to US-Mexico Border http://thirdpartyoffers.juno.com/TGL3131/604e4d462fbde4d4546acst02vuc3
Getting this error on attempt to build:
:-1: error: D8021 : invalid numeric argument '/Wno-unused-parameter'
Using Visual Studio Community through Qt Creator 4.14.1. Installed Qt for this build system.
The fix offered by this site, https://stackoverflow.com/questions/13717551/1cl-command-line-error-d8021-invalid-numeric-argument-wno-deprecated-er, says:
By examining project properties (Configuration Properties-> C/C++ ->Command Line) it appears that there are some unwanted flags that look like:
"/Zm1000 -Wno-deprecated -mwin32 -mthreads /bigobj"
just remove the marked flag, compilation completes correctly.
However, I do not see a Qt menu option for Configuration Properties. Has this issue been encountered before? How does one resolve?
Thanks.