ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> cpp-sig
cpp-sig
[C++-sig] Re: Compile failure with object in V2
by Dave Hawkes other posts by this author
Jul 14 2002 3:18AM messages near this date
Re: [C++-sig] Re: Compile failure with object in V2 | Re: [C++-sig] Compile failure with object in V2
"David Abrahams" <david.abrahams@[...].com>  wrote in message
news:1c5501c22aca$7aa85dd0$6601a8c0@[...]..
>  From: "Dave Hawkes" <daveh@[...].com>
> 
> 
>  > I was working on some tests for the the boost components I've been
>  working
>  > on and came across this issue.
>  >
>  > If an object is initialised with a class that is a sub class of another
a
>  > compiler error results, though I'm not sure if this is a specific
problem
>  > with VC6:
> 
>  Why don't you find out? MinGW and Cygwin are free...
> 
As I suspected it looks like a VC6 problem as it compiles fine with gcc.
Looking at the MS docs for error C2275 I can't see how it would apply in
this situation either.
Have you come across this issue before? If not or there's no known
workaround, I'm not sure if it's worth attempting any code rearrangements to
work around this as not many people will probably come across it.

Dave Hawkes







_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
Dave Hawkes
David Abrahams
Dave Hawkes
David Abrahams
Dave Hawkes
David Abrahams
Dave Hawkes
David Abrahams
Dave Hawkes
David Abrahams
Dave Hawkes
David Abrahams

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved