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
1 answer

Prevent Open Resource Pool Dialogue box when opening MPP Project File using VBA

I have some code that I am using to Open a Microsoft Project file but despite all efforts I have been unable to prevent the opening dialogue box from appearing or auto answering it. I have tried Application.EnableEvents = False,…
mond007
  • 119
  • 1
  • 8
  • 22
0
votes
1 answer

How do I suppress Visual Studio designer warnings in Visual Studio 2012

I've got this warning that I can't seem to suppress. It is not a compile time warning because I don't see it in the output window at all nor do I see it on the build machine. However, I don't want developers on my team to be staring at this forever…
Mark
  • 5,223
  • 11
  • 51
  • 81
0
votes
1 answer

Disable warnings from within an Octave .oct file

Is it possible to do this? In particular I want to toggle between warning ("off", "Octave:broadcast") and warning ("on", "Octave:broadcast"), i.e. set warning off at the beginning of the .oct file and then set warning on just before the .oct file…
babelproofreader
  • 530
  • 1
  • 6
  • 20
0
votes
2 answers

In Android, how do I remove a notification variable from being deprecated?

How do I remove the deprecation from my code? I seem to be getting warnings because of this. Strike-through texts were "new Notification" and setLatestEventInfo? It says "This method is deprecated in API level 11? What does that mean? Pleas help.…
0
votes
1 answer

Warnings are not getting suppressed even after using all the tricks I found online

I want to suppress warnings, I searched on SO, found some solutions but they aren't working. I am getting Warning at following function(file_get_contents) when the internet connection is off. I know this functions requires internet connection, when…
vikas devde
  • 11,691
  • 10
  • 35
  • 42
0
votes
1 answer

Removal warning "Unnecessary @SuppressWarnings("unchecked")" will affect functionality?

Unnecessary @SuppressWarnings("unchecked"). I am getting these warnings.If i remove this ,will it affect the project or any functionality.I am not getting the exact use of this.Can anyone help
Sjk
  • 377
  • 1
  • 5
  • 19
0
votes
1 answer

How to turn off specific errors in Xcode?

Is there a way to selectively turn off specific errors in Xcode? Specifically, I want to turn off the following errors Use of undeclared identifier.. No visible @interface for ... declares the selector I want this to fail during runtime for certain…
David
  • 14,205
  • 20
  • 97
  • 144
0
votes
2 answers

How to export JSP table to EXCEL (XLSX Format)

<%@ page language="java" contentType="application/vnd.ms-excel"%> <% response.setHeader("Content-Disposition:","attachment;filename=Sample.xls"); %>
2
3
5
How…
Suresh Babu
  • 25
  • 1
  • 2
  • 8
0
votes
1 answer

Trying to supress resource warning in Visual Studio

I want to suppress the "The resource name 'X.Y' is not a valid identifier" warnings in Visual Studio 2008. I cannot find the warning number to supress it in the project's properties. Is there another way of achieving this, or better still, does…
0
votes
3 answers

How does one disable deprecated warnings in Flex 3?

I've recently started working with an application written using Adobe Flex 3. We're using several deprecated functions and unfortunately we can't remove these dependencies. The documentation says to set -show-deprecated-warnings=false into the…
0
votes
2 answers

how remove @SuppressWarnings(“unused”) in netbeans?

I always see in many codes: @SuppressWarnings("unused") How can I remove these lines I use in java (in the NetBeans IDE): @SuppressWarnings("unused") String newName1 = input.next(); @SuppressWarnings("unused") String newFamily1 =…
Mohammad Olfatmiri
  • 1,605
  • 5
  • 31
  • 57
-1
votes
1 answer

Supress warning on recursive integer_sequence expansion?

I originally asked a question on how place holder generators work using integer_sequence expansion: How does this placeholder generator work? Using this I wrote the following header-only library: /// Source:…
FatalSleep
  • 307
  • 1
  • 2
  • 15
-1
votes
1 answer

disabling warnings in external headers C++

I have been tasked with disabling warnings in external headers "##include" and i have read a very useful tutorial named "Broken Warnings Theory" however the tutorial leaves out how to use supplied examples, so my question is: Where in Visual Studio…
-1
votes
1 answer

Disable only warning D9024 (unrecognised file type; object file assumed)

I have an OS-agnostic makefile (ugh, I know) which supports both GNU and MSVC compilers (among others). It always generates .o object files when compiling, even when compiling for MSVC (which expects .obj files). This is not a major problem; cl…
Anti Earth
  • 4,671
  • 13
  • 52
  • 83
-1
votes
1 answer

What would cause all compiler warnings be suppressed for only 1 of multiple projects within a visual studio solution?

I have a Visual Studio 2019 solution comprising of 4 projects. For 3 of the 4 projects, warnings are reported in Visual Studio's Error List window as normal. But for 1 of the 4 projects, all compiler warnings appear to be suppressed and for this 1…
Gary Barrett
  • 1,764
  • 5
  • 21
  • 33
1 2 3
52
53