public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Ankur Arora" <terminus@gmail.com>
To: gcc-help@gnu.org
Subject: Re: No warning on type truncation
Date: Sun, 03 Aug 2008 19:49:00 -0000	[thread overview]
Message-ID: <dae824200808031248y169d5b51l68f71ebc75e1662c@mail.gmail.com> (raw)
In-Reply-To: <48960446.62D8A85D@dessent.net>

> -Wconversion with 4.4 does warn:
>
> tc.c: In function 'main':
> tc.c:5: warning: conversion to 'int' from 'long int' may alter its value
>
> I think that this was added in 4.3, or rather the -Wconversion prior to
> 4.3 meant something different and less useful.
Yes, I did try with -Wconversion in 4.1.2 but that worked only for conversions
across function calls/prototypes.


Thanks for the pointer,
Ankur

-- 
667:
 The neighbor of the beast.

      reply	other threads:[~2008-08-03 19:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-03 19:04 Ankur Arora
2008-08-03 19:18 ` Brian Dessent
2008-08-03 19:49   ` Ankur Arora [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dae824200808031248y169d5b51l68f71ebc75e1662c@mail.gmail.com \
    --to=terminus@gmail.com \
    --cc=gcc-help@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).