Questions tagged [suppress-warnings]

Compilers and interpreters commonly warn about miscellaneous conditions. Suppressing some or all of those warnings may help to reduce the 'noise' a compiler emits.

Compilers and interpreters commonly warn about miscellaneous conditions. Suppressing some or all of those warnings may help to reduce the 'noise' a compiler emits.

Common warnings may be deprecation warnings or the use of an undefined value.

790 questions
0
votes
0 answers

Supressed warnings of a third party library

I've added a library in my project which produces lot's of long warnings that get's all of my logcat and hardly I can find the warnings I really care about. I use filtering and searching but it's still annoying. I can't remove library from project…
alizeyn
  • 2,300
  • 1
  • 20
  • 30
0
votes
1 answer

swagger response for multiple object json data

i have developed an node API, now im using swagger to create Documentation for this API, but im stuck in the response part, please help me to write response for this json result, [ { "type": "FeatureCollection", "features": [ { …
LogaKrishnan
  • 491
  • 1
  • 9
  • 24
0
votes
2 answers

Trying to fix conversion warning

I am getting the following error: warning: conversion to ‘short unsigned int’ from ‘int’ may alter its value [-Wconversion] for the method template bool get_int(FILE* IN, T* val) { T rc = 0; for (size_t i = 0; i < sizeof(T) <<…
Jacko
  • 12,665
  • 18
  • 75
  • 126
0
votes
0 answers

VS2017: Don't show Nuget version compatibility warnings

I'm suppressing the NU1608 warning when building my code (the versions I have for my components have been tested and work as desired together) but Visual Studio still shows little warning icons on my dependencies. Is there a way to suppress this…
0
votes
1 answer

Is there any keyboard shortcut to add @SuppressWarnings on class in IntelliJ Idea?

Is there any shortcut for @SuppressWarnings({"unused", "WeakerAccess"}) Specially on java classes?
enator
  • 2,431
  • 2
  • 28
  • 46
0
votes
0 answers

Eclipse : disabling the warning only on the folder

I want to disable the little warning picture on the folder. But keep the warnings hint on the left in the files, they are a little disturbing. How can I do this? Thanks Warnings on the folders :
so879
  • 1
  • 1
0
votes
1 answer

Right hand operand of '&&' or '||' is an expression with possible side effects

Code statement look like below: if((temp1 == ID1) || (temp2 == (C_UINT16) ID2)) { } I am not sure why QAC is generating this warning. What will be the side effect & how to avoid this warning. Details for QAC-help: The right hand operand of a…
kapilddit
  • 1,729
  • 4
  • 26
  • 51
0
votes
0 answers

Suppress warning "Unable to proxy interface-implementing method [...] because it is marked as final:" for a specific class only

In a Spring application we have several warnings like this: o.s.aop.framework.CglibAopProxy - Unable to proxy interface-implementing method [...] because it is marked as final: Consider using interface-based JDK proxies instead! This question and…
Honza Zidek
  • 9,204
  • 4
  • 72
  • 118
0
votes
1 answer

Hide warnings: Simultaneous accesses to ... but modification requires exclusive access

I'm using 3rd party libraries which are not yet ready for Swift 4, i.e. break the exclusive memory access rule (SE-0176). So, my console is flooded with these warnings: Simultaneous accesses to 0xb1ab1ab1a, but modification requires exclusive…
Dmitry Isaev
  • 3,888
  • 2
  • 37
  • 49
0
votes
1 answer

FxCop(CA1800) warnings are not suppressed properly

I have implemented the source, it contains some CA1800(DoNotCastUnnecessarily) warnings. I can't able to fix this warning in source, so I try to suppress the warning by adding suppress code in the method. [SuppressMessage("Microsoft.Performance",…
Jagadeesan
  • 233
  • 1
  • 13
0
votes
2 answers

Stanford NLP: how to disable warnings?

Stanford NLP pipeline issues lots of warnings particularly disturbing in production setup: WARN Untokenizable: � (U+FFFD, decimal: 65533) Is there a way to disable them?
Denis Kulagin
  • 8,472
  • 17
  • 60
  • 129
0
votes
1 answer

Warning on running Google Chrome 59 headless mode

I want to use Google Chrome headless mode. I type this. google-chrome --headless --disable-gpu --dump-dom --no-sandbox http://google.com and it always show warning in the first output like below. [0722/222841.700788:WARNING:audio_manager.cc(293)]…
0
votes
2 answers

When to use the @ symbol in PHP?

I was wondering what the use cases are to use the @ symbol in PHP to suppress errors for an expression. It is discouraged by a lot of people for good reasons but I was wondering when it actually can help to write cleaner code. I came across the…
Daan
  • 7,685
  • 5
  • 43
  • 52
0
votes
1 answer

suppress command line output hadoop fs command

I am running a hadoop mapreduce job using a Python program that creates different input paths as parameters for the mapreduce job. I am currently checking for hadoop fs path existence, before I pass these input paths into the mapreduce, using the…
matt123788
  • 419
  • 5
  • 16
0
votes
3 answers

How to ignore WinRAR warnings programatically?

I need to loop over a lot of jar files to delete previous signs and remake the sign for each jar so I make this script for windows, it works well but it stops when a 'Warning' message appears; and I have to click 'close' a lot of times. The warning…
tec
  • 999
  • 3
  • 18
  • 40