| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-Id: | <2.2.32.20001207212118.00696b24@198.102.228.210> |
| X-Sender: | brinkman AT 198 DOT 102 DOT 228 DOT 210 |
| X-Mailer: | Windows Eudora Pro Version 2.2 (32) |
| Mime-Version: | 1.0 |
| Date: | Thu, 07 Dec 2000 16:21:18 -0500 |
| To: | cygwin AT sourceware DOT cygnus DOT com |
| From: | Donald Brinkman <brinkman AT omi DOT com> |
| Subject: | cv-quals lack an intervening 'const' |
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.
Donald Brinkman
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |