cannot get rid of "overriding /W3 with /w

  • Thread starter Thread starter JosephStateson
  • Start date Start date
J

JosephStateson

Guest
Getting too many warning messages trying to port a linux app to windows using VS2013

Added "-w" to the "Cuda C/C++ command line"
Changed "/W3" to "W0" in the "C/C++ General"

The above worked fine for files ending in ".cpp" of Project A
but for the files in Project B that end in ".cu", there is no "C/C++ General"
and instead of error messages like "var x declared but unused in y" I am getting a boatload of

1>cl : Command line warning D9025: overriding '/W3' with '/w'
...got a lot of the above, not just 1 or 2...

Is there a way to stop this? The codes are all the same: D9025

the following did not work, even added "D" but still didn't work

#pragma warning (disable : 9025)

Continue reading...
 
Back
Top