| To: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
|---|---|
| Subject: | Re: [PATCH] I/O helpers rework |
| From: | Richard Sandiford <rsandifo@redhat.com> |
| Date: | Fri, 14 Jan 2005 11:05:18 +0000 |
| Cc: | macro@mips.com, ralf@linux-mips.org, linux-mips@linux-mips.org, macro@linux-mips.org |
| In-reply-to: | <20050114.105227.25909305.nemoto@toshiba-tops.co.jp> (Atsushi Nemoto's message of "Fri, 14 Jan 2005 10:52:27 +0900 (JST)") |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <874qhltcyv.fsf@redhat.com> <Pine.LNX.4.61.0501131824350.21179@perivale.mips.com> <87k6qh2e6j.fsf@redhat.com> <20050114.105227.25909305.nemoto@toshiba-tops.co.jp> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Atsushi Nemoto <anemo@mba.ocn.ne.jp> writes: > rsandifo> You can't dereference it, obviously, just like you can't > rsandifo> deference a normal "void *". But you can assign it to any > rsandifo> "volatile T *" without an explicit cast. I assumed that's > rsandifo> what was happening in this case? > > Assigning "void *" to "volatile T *" is not a problem. Compiler warns > if you assigned "volatile T *" to "void *". Ooops! Quite right, and thanks for the correction. (That's what I meant to write really, honest ;) Richard |
| Previous by Date: | Re: unresolved (soft)float symbols, Philippe De Swert |
|---|---|
| Next by Date: | Re: initrd support., Thiemo Seufer |
| Previous by Thread: | Re: [PATCH] I/O helpers rework, Atsushi Nemoto |
| Next by Thread: | Re: [PATCH] I/O helpers rework, Maciej W. Rozycki |
| Indexes: | [Date] [Thread] [Top] [All Lists] |