This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
"j t" <mark473@gmail.com> writes: > Excuse my newbieness, but is there a gcc switch that enables warnings > from implicit narrowing (int -> short, for example), or is this best > obtained from other software such as lint/splint? -Wconversion does this, in newer versions of gcc. Ian
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |