- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Subject. This code compiles on ICC 13 update 1 on windows, but it must not bacause 'A::foo' not accessible because 'B' uses 'private' to inherit from 'A'.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes we should give an accessibility error for this when imiiating more recent Microsoft compilers. It looks like MSVC++ 98 and earlier had a bug where they allowed this and we are incorrectly imitating this bug for all microsoft versions. I have entered DPD200239865 in our bug tracking system to fix this. Thanks for reporting it.
Judy

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page