public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Eljay Love-Jensen <eljay@adobe.com>
To: Ed Stafford <ed.stafford@xilinx.com>, GCC-help <gcc-help@gcc.gnu.org>
Subject: Re: Signedness of char and puts()
Date: Fri, 28 Mar 2008 23:25:00 -0000	[thread overview]
Message-ID: <C412BB9F.3211%eljay@adobe.com> (raw)
In-Reply-To: <20080328200428.4266C1AD005D@mail14-sin.bigfish.com>

Hi Ed,

> Does anyone know why this occurs? 

Those are three different types.
+ char
+ unsigned char
+ signed char

"Hello" is a char*, not an unsigned char* or signed char*.

(In C++ "Hello" is a char const*.)

HTH,
--Eljay

  reply	other threads:[~2008-03-28 23:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28 20:04 Ed Stafford
2008-03-28 23:25 ` Eljay Love-Jensen [this message]
2008-03-29  1:04   ` me22
2008-03-29  1:19   ` Matthew Woehlke
2008-03-29 12:43     ` Eljay Love-Jensen
2008-03-31  9:15   ` Michael Eager
2008-03-31 11:44     ` John Love-Jensen
2008-03-31 14:56       ` Michael Eager
2008-03-31 15:06         ` Ed Stafford
2008-03-31 17:28           ` Michael Eager
2008-04-17  9:38   ` lynx.abraxas
2008-04-17 13:49     ` Eljay Love-Jensen

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=C412BB9F.3211%eljay@adobe.com \
    --to=eljay@adobe.com \
    --cc=ed.stafford@xilinx.com \
    --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).