From: Matthew Woehlke <mw_triad@users.sourceforge.net>
To: gcc-help@gcc.gnu.org
Subject: Re: Signedness of char and puts()
Date: Sat, 29 Mar 2008 01:19:00 -0000 [thread overview]
Message-ID: <fsk5df$7oc$1@ger.gmane.org> (raw)
In-Reply-To: <C412BB9F.3211%eljay@adobe.com>
Eljay Love-Jensen wrote:
> 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*.)
Isn't "Hello" technically const in C also, since -fwrite-strings was
(thankfully, rightly) killed?
--
Matthew
Do you know where your towel is?
next prev parent reply other threads:[~2008-03-29 1:19 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
2008-03-29 1:04 ` me22
2008-03-29 1:19 ` Matthew Woehlke [this message]
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='fsk5df$7oc$1@ger.gmane.org' \
--to=mw_triad@users.sourceforge.net \
--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).