Top "Suppress-warnings" questions

Compilers and interpreters commonly warn about miscellaneous conditions.

How do I fix Rubygems recent deprecation warning?

I have recently run updates: gem update --system gem update Now, I come with a lot of deprecation warnings each …

ruby rubygems rvm suppress-warnings
What value for @SuppressWarnings do I use to suppress the "Can be private" warning?

I keep getting annoyed by the "Can be private" warning, however my FirebaseRecyclerAdapter will not work in that case. So, …

java android-studio suppress-warnings
Suppressing "null device" output with R in batch mode

I have a number of bash scripts which invoke R scripts for plotting things. Something like: #!/bin/bash R --vanilla …

r bash plot suppress-warnings
How do you tell Valgrind to completely suppress a particular .so file?

I'm trying to use Valgrind on a program that I'm working on, but Valgrind generates a bunch of errors for …

shared-libraries valgrind suppress-warnings
How can I disable a specific warning for a C# project in VS2012?

I am trying to generate partial XML documentation during my build process for a C# project in VS2012. When I …

c# visual-studio-2012 suppress-warnings xml-documentation
Is is possible to disable this warning in clang? warning: #pragma once in main file

warning: #pragma once in main file We're running our headers through clang to get a partial AST. Is it possible …

clang pragma suppress-warnings
Android Studio - remove Security Exception warning

I'm getting the user's location through Location location = LocationServices.FusedLocationApi.getLastLocation( mGoogleApiClient); This line of code is inside a method …

android android-studio suppress-warnings runtime-permissions
Unsupported @SuppressWarnings("PMD.DoNotCallSystemExit")

I need to use System.exit(0) in an application. Eclipse has the PMD plugin installed and complains about this line …

eclipse pmd suppress-warnings systemexit
Is there an equivalent to SuppressWarnings in Scala?

I was wondering if scala had an equivalent to java's @SuppressWarnings that can be applied to a function or whatever …

scala suppress-warnings
Can I get PyCharm to suppress a particular warning on a single line?

PyCharm provides some helpful warnings on code style, conventions and logical gotchas. It also provides a notification if I try …

python pycharm compiler-warnings suppress-warnings