Questions tagged [warnings]

A warning is often issued on recognizing a potential high-risk situation, a probable misunderstanding, degraded service or imminent failure.

A warning-level error message shown by a compiler indicates a piece of code which the compiler recognizes as being potentially a problem, but which is syntactically correct such that the compiler is able to continue.

The seriousness of warning may vary from basically an error to something that could be considered just as bad programming style. Most of compilers provide keys to disable default warnings and may provide keys to enable warnings that are disabled by default (e.g. -Wall, -Wextra, -Werror).

5829 questions
3
votes
1 answer

Warning message clarification

I'm using SNPassoc R package for finding association between data SNPs and a continuous variable outcome. I run the analysis and I got the results; however, I got warning message which is: Warning in terms.formula(formula, data = data) : 'varlist'…
Marwah Al-kaabi
  • 419
  • 2
  • 7
3
votes
0 answers

DAV transport method is being deprecated warning message

I am facing an issue (Warning message) at the completion of uploading the archive to the AppStore. I have uploaded lots of different versions but this warning I am seeing for the very first time, did anyone having to face this kind of warning…
Tejas Patel
  • 850
  • 10
  • 26
3
votes
2 answers

Catching Material UI deprecation warnings

We have a central shared material UI theme in our company that individual teams pull into their codebases. While we try to always stay on the ball with the latest versions the central repository can't be updated at the same pace when there are…
Jannis Hell
  • 736
  • 8
  • 17
3
votes
0 answers

Why seemingly equivalent object constructions produce different warnings in C++?

I am rather surprised that 3 object constructions, which I considered equivalent, actually produce different compiler warnings or even an error: struct B { int &&a = {}; }; int main() { [[maybe_unused]] auto x = B{}; //ok in clang and gcc …
Fedor
  • 17,146
  • 13
  • 40
  • 131
3
votes
1 answer

Pyplot warning when evaluating expression from textbox widget

If I have a pyplot figure with more than one "axes" (as they call them) and there is a textbox in one of them, when writing some special sequences of characters (e.g. *2) I get a warning that states the following: MatplotlibDeprecationWarning:…
3
votes
3 answers

Completion and linting in the editor for Python files will not work during current session, or stopped working

I don't know how to repair the error. Every time I open Spyder the warnings shows up and restarting the aplication doesn't solve the problem. If you can help me I would appreciate it. Spyder Completion Warning
Acromyrmex
  • 33
  • 1
  • 4
3
votes
2 answers

php step exceeds range, windows only with date('Y')

Out of interest, why on windows does this produce a warning (and returns false): range(date('Y'), date('Y') + 5) Warning: range() [function.range]: step exceeds the specified range Doesn't happen on the live server, just windows. I've been looking…
Ashley
  • 5,939
  • 9
  • 39
  • 82
3
votes
1 answer

gcc >=10.1 and clang do not detect unused but set lambda

Consider the following program: template int f(int x) { auto task = [&]() { ++x; }; if constexpr (I == 0) { task(); } return x; } int main() { f<1>(3); } Compiling on gcc 9.3 with -std=c++17 -Wall…
francesco
  • 7,189
  • 7
  • 22
  • 49
3
votes
1 answer

C6387 for memcpy, strcpy and strcpy_s

It seems that I cannot shake the C6387 warning. typedef struct HashBind{ char* cKeyIdentifier; void* vValue; } HashBind; .... HashBind* strNewBind = malloc(sizeof(HashBind)); strNewBind -> cKeyIdentifier = (char*)…
user10817807
3
votes
2 answers

Warning: You provided a `checked` prop to a form field without an `onChange` handler

I'm getting this warning with my JS React Bootstrap code. Warning: You provided a checked prop to a form field without an onChange handler. This will render a read-only field. If the field should be mutable use defaultChecked. Otherwise, set either…
mwsmws22
  • 127
  • 2
  • 11
3
votes
0 answers

How to tell Eclipse PDT where the root path is for namespace validation?

The folder for my PHP Eclipse project has a folder "src/" in the root path and inside it is a tree of the PHP files. I have the following warning for all of my php files: The declared namespace "" does not match the expected namespace The issue is…
Zhro
  • 2,546
  • 2
  • 29
  • 39
3
votes
1 answer

How to hide `delta_grad == 0.0` warning in scipy.optimize.minimize?

I have a loop that executes several hundred optimizations using scipy.optimize.minimize. Unfortunately, I keep getting this annoying warning: C:\Users\Leonidas\Anaconda3\lib\site-packages\scipy\optimize\_hessian_update_strategy.py:186: UserWarning:…
3
votes
1 answer

Perl - illegal hexadecimal digit warning error

I'm getting a warning on this line of code: $mismatch = ($_ =~ s/[^\x0]//g); Illegal hexadecimal digit ']' ignored at xxxxxx.pl line 61. The regex looks valid to me, what is causing this error please? It's the right square bracket that it doesn't…
Tenakha
  • 183
  • 1
  • 2
  • 7
3
votes
4 answers

Java warning: [options] system modules path not set in conjunction with -source 11

This machine has had multiple version of Java JDK installed and multiple version of multiple IDEs (Netbeans, IntelliJ, Eclipse, etc.) Most recently, I have added JDK 15.0.2 and Netbeans 12.2. When trying to compile a simple "Hello World", this is…
WeberEInc
  • 91
  • 1
  • 6
3
votes
2 answers

cppcheck "Possible null pointer dereference". False positive or a bug?

I have this C code: #include #include
Hobber
  • 194
  • 1
  • 13
1 2 3
99
100