guides:software:gcc:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
guides:software:gcc:start [2020/07/19 14:38] – [Producing Additional Warnings] wikiadmin | guides:software:gcc:start [2024/07/25 15:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 160: | Line 160: | ||
==== Some Useful Arguments ==== | ==== Some Useful Arguments ==== | ||
- | * // | + | * //- -version// will display the version of g++ you are using. |
* < | * < | ||
$ g++ --version | $ g++ --version | ||
Line 218: | Line 218: | ||
Compilers are also capable of analyzing source code to predict where this code may cause run time errors. | Compilers are also capable of analyzing source code to predict where this code may cause run time errors. | ||
- | Your instructor may require one or more of the following flags when compiling code | + | Your instructor may require one or more of the following flags when compiling code: |
* // | * // | ||
Line 238: | Line 238: | ||
* // | * // | ||
* Warn when an implicit conversion may change a value. | * Warn when an implicit conversion may change a value. | ||
+ | |||
+ | Note: There are **many** other warning producing flags. | ||
For the following code: | For the following code: |
guides/software/gcc/start.1595169508.txt.gz · Last modified: 2024/07/25 15:01 (external edit)