🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4669

Re: ... char * * promotion to char const * const * ...

#4669
From: Fergus Henderson
Date: Thu, 18 Jan 1996 16:32
17 lines
889 bytes
mklenk@updike.sri.com (Mark Klenk) writes:

>	My question is this:
>
>	Why does a char * * not naturally promote to a
>	char const * const *?

It's an unfortunate limitation imposed by the C standard.

Incidentally, this bug is fixed in C++ - your code is legal C++,
according to the draft C++ standard.

I hope this bug will also get fixed in C9X.

--
Fergus Henderson             	WWW: http://www.cs.mu.oz.au/~fjh
fjh@cs.mu.oz.au              	PGP: finger fjh@128.250.37.3
Technical Details
Message-ID: <9601903.10111@mulga.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!munta.cs.mu.OZ.AU!fjh
References: <4dgj8q$qin@unix.sri.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!munta.cs.mu.OZ.AU!fjh
From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
Subject: Re: ... char * * promotion to char const * const * ...
Message-ID: <9601903.10111@mulga.cs.mu.OZ.AU>
Sender: news@cs.mu.OZ.AU (CS-Usenet)
Organization: Computer Science, University of Melbourne, Australia
References: <4dgj8q$qin@unix.sri.com>
Date: Thu, 18 Jan 1996 16:32:58 GMT