Illegally accessing a member of a nested structure fails to generate a C2039 error.Interestingly, this allows a buffer overrun without using arrays, pointers, or unions.Other compilers (g++, Sun's CC) diagnose the error.This was reported as Bug 406512 for Visual C++ 2008, and a Microsoft comment of 3/17/2009 said "we are going to postpone addressing this problem until the next release of the product". The problem still exists in this next release.
Visual Studio/Silverlight/Tooling version
What category (if any) best represents this feedback?
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...