Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 7 Dec 2000 16:33:34 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: cv-quals lack an intervening 'const'
Message-ID: <20001207163334.H16933@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <2.2.32.20001207212118.00696b24@198.102.228.210>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <2.2.32.20001207212118.00696b24@198.102.228.210>; from brinkman@omi.com on Thu, Dec 07, 2000 at 04:21:18PM -0500

On Thu, Dec 07, 2000 at 04:21:18PM -0500, Donald Brinkman wrote:
>Hello all . . .
>
>I have been given the task of porting a small project from an IRIX
>environment into a visual c++ compatible library.  To accomplish this I
>decided to use Cygwin, since it has such nice utilities for creating DLLs.
>Everything has been going fine, with only a few changes here and there,
>until I stopped dead on this problem.  Given the member function:
>
>const Foo** FooBar::getA() const
>        {
>        return ( A )
>        }
>
>where A is a const Foo**
>
>I get the following message:
>
>Return to const Foo** from Foo **const adds cv-quals without intervening
>'const'.
>
>Now, please, can someone tell me just what a cv-qual is and why the compiler 
>complains about this on Cygwin with gcc but not on IRIX with cc? Any help
>would be greatly appreciated.

It's possible that someone might know the answer to this question here
but you'll probably have more luck on one of the gcc mailing lists:

http://gcc.gnu.org/lists.html

Cygwin uses the standard FSF gcc release and this sounds like a standard gcc
question.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

