RIP
Tutorial
Tags
Topics
Examples
eBooks
Download gcc (PDF)
gcc
Getting started with gcc
Code coverage: gcov
GCC Optimizations
GNU C Extensions
Warnings
Enable nearly all warnings
gcc
Getting started with gcc
Code coverage: gcov
GCC Optimizations
GNU C Extensions
Warnings
Enable nearly all warnings
gcc
Warnings
Syntax
gcc
[
-W
option
[
-W
option
[...]]]
src-file
Parameters
Parameter
Details
option
It can be used to enable or disable warnings. It can make warnings into errors.
src-file
The source file to be compiled.
Remarks
It is a good practice to enable most warnings while developing a software.
Warnings Related Examples
Enable nearly all warnings
PDF
- Download
gcc
for free
Previous
Next
This modified text is an extract of the original
Stack Overflow Documentation
created by following
contributors
and released under
CC BY-SA 3.0
This website is not affiliated with
Stack Overflow