Hello,
how can I disable nvcc w<arnings altogether? I tried the gcc option -w as well as different -Wno but they’re not recognized by nvcc.
I tried looking in nvcc doc but couldn’t find anything.
Any help?
Thakn you
nvcc … >& /dev/null
Peter
Thanks for the tip, but what about VS 2005 & Windows?
edit:
also, wouldn’t this disable error messages too, when I just want to disable warnings ?
Nvcc does not have such an option, but the -w options can be passed to the native compiler using -Xcompiler, as in
nvcc x.cu -Xcompiler "-w"
Note that multiple options must be passed either by repeating -Xcompiler, or by surrounding quotes.