Top "Warnings" questions

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

Disable single warning error

Is there a way to disable just a single warning line in a cpp file with visual studio? For example, …

c++ visual-c++ warnings pragma
How to fix warning from date() in PHP"

I am using XAMPP(PHP Version 5.3.1) on winxp. When I try to call time() or date() function on my localhost. …

php date warnings xampp
Mockito: List Matchers with generics

Mockito offers: when(mock.process(Matchers.any(List.class))); How to avoid warning if process takes a List<Bar&…

java generics warnings mockito matcher
What does "control reaches end of non-void function" mean?

I've been getting strange compiler errors on this binary search algorithm. I get a warning that control reaches end of …

c warnings compiler-warnings
warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777

Every time I run this command rails server: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 I …

ruby-on-rails macos permissions rubygems warnings
Raise warning in Python without interrupting program

I am trying to raise a Warning in Python without making the program crash / stop / interrupt. I use the following …

python exception error-handling warnings
How do I catch a numpy warning like it's an exception (not just for testing)?

I have to make a Lagrange polynomial in Python for a project I'm doing. I'm doing a barycentric style one …

python exception numpy warnings divide-by-zero
Is there a way to ignore a single FindBugs warning?

With PMD, if you want to ignore a specific warning, you can use // NOPMD to have that line be ignored. …

java warnings findbugs suppress-warnings
relative path in require_once doesn't work

I have the following structure otsg > class > authentication.php > database.php > user.php > include > …

php warnings fatal-error require-once
Visual C++: How to disable specific linker warnings?

I'm using a library from CGAL which during the linking stage of my code compilation produces a lot of linking …

visual-studio visual-c++ linker warnings cgal