This is the mail archive of the gcc@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] | |
-Wconversion is a good idea. I don't think -Wtraditional is relevant.
int func1(int i)
{
return i;
}int main()
{
float f;
long l;
unsigned long ul;l = f; ul = -1; func1(f);
return 0; }
* call.c (convert_like_real): When issuing conversion
warnings, depend on OPT_Wconversion.Attachment:
warning.diff.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |