Skip to main content

Questions tagged [warnings]

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

warnings
-2 votes
0 answers
25 views

only available with -std=c++17 or -std=gnu++17

I am currently interested in competitive programming. When i try to use features added with c++17 and later, VSCode runs my program without any problem but it always give warning like "fold-...
Enes's user avatar
  • 5
0 votes
1 answer
56 views

Is there an MSVC equivalent to gcc's __attribute__(returns_nonnull))?

I learned about this little feature of GCC/Clang today: Something * MyFunctionThatNeverReturnsNULL() __attribute__((returns_nonnull)) { // code here that will never return a NULL value static ...
Jeremy Friesner's user avatar
-1 votes
0 answers
43 views

Java exit status codes based on application warnings vs errors [closed]

I'm developing a Java application where the exit status codes need to reflect the following conditions: Exit with status code 0 if no errors or warnings occur during execution. Exit with status code ...
Meymuna S.'s user avatar
0 votes
2 answers
34 views

Using cat() inside warning() puts the message before the warning

I used cat() to create a warning message, but in the result the warning message comes before the "Warning message:" part. Is there a different way to create this warning message so that it ...
Jdub's user avatar
  • 601
1 vote
0 answers
39 views

Warning "Danger: Do not type or paste anything here..."

I'm currently making a login page for a service and after sending a fetch request to the server to check the username and password, once the reponse on the client side arrives there is that warning in ...
GreenSaiko's user avatar
0 votes
0 answers
30 views

how to solve Warning: React does not recognize the popoverTarget prop

i was creating an language dropdown and i used new feature popover and thats the problem doesnt recognize it. please help guys code languageDropdaownItem interface IProps { handleClick: () => ...
meylis Gurbanmyradow's user avatar
-1 votes
0 answers
9 views

// https://angular.io/config/tsconfig. Unable to load schema from 'https://json.schemastore.org/tsconfig': connect ETIMEDOUT 20.42.128.105:443. (768)

I am working in a virtual system where there's no internet connection. Hence I know loading will not work but how can I solve this to remove warning? I already commented the line of loading schema but ...
Ramdev Nemathillam's user avatar
2 votes
1 answer
89 views

How to create warning assertions in Playwright TypeScript tests for non-critical failures?

How to create warning assertions in Playwright TypeScript tests for non-critical failures? I'm working on Playwright tests using TypeScript, and I need a way to handle assertions that throw warnings ...
Barış Can Ateş's user avatar
0 votes
1 answer
43 views

Cannot get rid of "Make "[field name]" transient or serializable." warning from SonarLint on Intellij

SonarLint plugin on Intellij (IntelliJ IDEA 2024.1.1 (Ultimate Edition)) shows warnings like: Make "[field name]" transient or serializable. I cannot get rid of it, even though I definitely ...
dzk008's user avatar
  • 61
0 votes
0 answers
21 views

MaxListenersExceededWarning: Possible EventEmitter memory leak detected.

I am developing a telegram bot following the tutorial and the code is working as I want. But there is a warning. MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close ...
luckypenny's user avatar
-1 votes
2 answers
100 views

Disable warnings for unused imports in VS Code for Java

It's so annoying to see the yellow warnings, how can I disable them? I couldn't find the org.eclipse.jdt.core.prefs file as described here. (I'm not using a project) Is there a particular global ...
Joy's user avatar
  • 81
0 votes
0 answers
27 views

ESLint for TS and svelte no-unused-vars store reactive element

here is my eslintrc file .eslintrc.cjs With this configuration I'm getting warning for this cases import {store} from '@js/stores/globalStores' $store = 'abc' warning warning 'store' is defined ...
Garo Gabrielyan's user avatar
0 votes
1 answer
88 views

Warnings and performance issues on RoomPlan Application on first run

When I run the application on my device, the camera view with the RoomPlanView scan is loading slow on the first run of the application. Steps to reproduce: Download the RoomPlan example app offered ...
Horik's user avatar
  • 11
0 votes
0 answers
14 views

MatrixRankWarning is printing to stdout despite being caught [duplicate]

I'm catching the following: from scipy.sparse.linalg import spsolve, MatrixRankWarning try: out = spsolve(AMatrixT, dist) out /= out.sum() if not np.isnan(out).any(): return out ...
FooBar's user avatar
  • 16.3k
-2 votes
0 answers
35 views

CLANG issue for using arithmetic pointer [duplicate]

I have cpp code like below . Here in the build system, am getting clang warning as do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] inside for loop. const char* uid; std:...
Karma Yogi's user avatar

15 30 50 per page
1
2 3 4 5
393