Clarification anyone? -- was Re: Linux and aliasing?
Ross Smith
ross.s@ihug.co.nz
Tue Jun 8 13:50:00 GMT 1999
mark@codesourcery.com wrote:
>
> The exceptions are that you may access *anything*
> though a pointer of type `char*',
I thought it was unsigned char*? I don't think signed types are required
to have a one-to-one correspondence between valid values and all
possible bit patterns (so converting an arbitrary pointer to char* and
dereferencing might trigger a trap representation). (But I don't have a
copy of the C standard on hand, and I couldn't find anything relevant in
the C++ standard.)
--
Ross Smith <ross.s@ihug.co.nz> The Internet Group, Auckland, New Zealand
========================================================================
I know you're desperate, I really sympathise
I see the morbid horror flicker in your eyes
But rest assured I'm gonna help to ease your pain
I'm gonna put a thousand tiny implants in your brain [Motorhead]
More information about the Gcc
mailing list