From: John Love-Jensen <eljay@adobe.com>
To: Rene Perlberg <Perle5000@gmx.de>, MSX to GCC <gcc-help@gcc.gnu.org>
Subject: Re: Warning when passing int, but unsigned int is awaited?
Date: Wed, 13 Feb 2008 16:12:00 -0000 [thread overview]
Message-ID: <C3D872E9.2CD87%eljay@adobe.com> (raw)
In-Reply-To: <20080213160431.145850@gmx.net>
Hi Rene,
> Is there any way to make the compiler write a warning or an error, when an int
> is passed to a function which awaits an unsigned int? I tried some of the
> options gcc gives the user, but nothing worked for me.
Try: -Wconversion
HTH,
--Eljay
next prev parent reply other threads:[~2008-02-13 16:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 16:04 Rene Perlberg
2008-02-13 16:12 ` John Love-Jensen [this message]
2008-02-13 16:26 ` Rene Perlberg
2008-02-13 16:52 ` John Love-Jensen
2008-02-13 21:06 ` Robert William Fuller
2008-02-13 23:58 ` James Tebneff
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=C3D872E9.2CD87%eljay@adobe.com \
--to=eljay@adobe.com \
--cc=Perle5000@gmx.de \
--cc=gcc-help@gcc.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).