Category "compiler-warnings"

ImagePicker.platform shows warning - Flutter

I am using the following code to pick an image from user's gallery. Future getImageFromGallery(BuildContext context) async { await ImagePicker.platform()

Visual Code Studio with C/C++ extension: How to disable warnings

I'm working with Zephyr OS in the Visual Code Studio IDE. Zephyr uses a lot of Macros but the C/C++ extension does not like that and throws Warnings. One exampl

How to avoid VS Code warning: "[myfile].java is a non-project file, only syntax errors are reported"

I am running a build task in a java project in Visual Studio Code. The warning in the "PROBLEMS" tab: [myfile].java is a non-project file, only syntax errors a

How to turn on (literally) ALL of GCC's warnings?

I would like to enable -- literally -- ALL of the warnings that GCC has. (You'd think it would be easy...) You'd think -Wall might do the trick, but nope! Stil

Why should I always enable compiler warnings?

I often hear that when compiling C and C++ programs I should "always enable compiler warnings". Why is this necessary? How do I do that? Sometimes I also hear