> It looks like the c++ source for a single object file can not contain
> more than one anonymous class that derives from a base class. When I
[quoted text clipped - 23 lines]
> This was easy to work around by giving each previously anonymous class a
> name but shouldn't the compiler generate unique class names for them?
AFAIK C++ standard only talks about anonymous unions, but not classes and
structures.
Do not expect it's compatible code.
--
Vladimir Nesterovsky
e-mail: vladimir@nesterovsky-bros.com
home: http://www.nesterovsky-bros.com
Carl Daniel [VC++ MVP] - 17 Dec 2004 19:42 GMT
> "Christopher Bohn" <cbohn@nospammingrrinc.com> wrote in message
>> This was easy to work around by giving each previously anonymous
[quoted text clipped - 4 lines]
> and structures.
> Do not expect it's compatible code.
Actually, it's legal C++ (unfortunately, IMO). Sounds like a legit (if
obscure and unimportant) bug to me.
-cd
Ronald Laeremans [MSFT] - 17 Dec 2004 20:29 GMT
It would be easiest if someone could enter an issue on the feedback center
for this.
http://lab.msdn.microsoft.com/productfeedback/default.aspx
This isn't one I have high confidence in we will fix for Whidbey however.
Ronald Laeremans
Visual C++ team
>> "Christopher Bohn" <cbohn@nospammingrrinc.com> wrote in message
>>> This was easy to work around by giving each previously anonymous
[quoted text clipped - 9 lines]
>
> -cd
Christopher Bohn - 21 Dec 2004 16:40 GMT
We are using Visual Studio .NET 2003. That doesn't seem to be an option
for a product when filing a bug at the site given below. Is there a way
to file the bug against 2003 or should it be filed under some other
version (even though we haven't tried it under other versions and don't
intend to try the betas from our MSDN subscription)?
> It would be easiest if someone could enter an issue on the feedback center
> for this.
[quoted text clipped - 20 lines]
>>
>>-cd
Ronald Laeremans [MSFT] - 21 Dec 2004 23:04 GMT
Hi Christopher,
If you want a fix in 2003 you need to call product support.
If you want it fixed in a future version you can add an entry at that site.
I would be helpful if you can validate it against the Beta of VC 2005, but
not absolutely required. You can mention it in the entry and ask someone to
repro it on VS 2005.
Thanks.
Ronald
> We are using Visual Studio .NET 2003. That doesn't seem to be an option
> for a product when filing a bug at the site given below. Is there a way
[quoted text clipped - 26 lines]
>>>
>>>-cd
Christopher Bohn - 29 Dec 2004 15:45 GMT
The bug report was made:
http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=d557e
a8c-9369-4d11-802b-724b015088ca
thanks
> Hi Christopher,
>
[quoted text clipped - 8 lines]
>
> Ronald