Date: 13 Jan 2000 17:25:28 -0500 From: evs@telerama.com To: Lowell Gilbert <lowell@world.std.com> Cc: Mikhail Evstiounin <evstiounin@adelphia.net>, freebsd-questions@freebsd.org Subject: Re: Giving a sighandler more information Message-ID: <20000113222528.9215.qmail@speedbuggy.telerama.com> In-Reply-To: <rd6zouaat1s.fsf@world.std.com> References: <00eb01bf5dc6$5adffe00$fc353018@evstiouninadelphia.net.pit.adelphia.net> <rd6zouaat1s.fsf@world.std.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Lowell Gilbert <lowell@world.std.com>: > "Mikhail Evstiounin" <evstiounin@adelphia.net> writes: > > > > Sorry, guys, but it requirenments of ANSI that > > sizeof(void*)==sizeof(int). > > > > > >No! A program which assumes that an int is large enough to > > >store a pointer is BROKEN. See this simple test program: > > > > > > Oliver, IT'S A REQUIRIMENTS OF THE STANDARD!!! - NOT MY WISH!!! > > Can you quote where in the standard it says this? I believe you are > incorrect. I'll try to find it - I left a lot of books back in Russia when I moved to the USA. And it was in Russian. > > I don't have a copy of the actual standard document, but Kernighan and > Ritchie say nothing more than "A pointer may be converted to an > integral type large enough to hold it; the required size is > implementation-dependent." This directly contradicts your claim. I > *do* have an early draft (from about a year ago) of the C9x standard > document, and it says the same thing, albeit in a lot more words. > > - Lowell > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Sincerely yours Mikhail Evstiounin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000113222528.9215.qmail>