On Wed, Jul 18, 2012 at 5:45 PM, Richard Smith <[email protected]> wrote:
> This test indirectly includes <typeinfo>. Presumably your system now has a
> <typeinfo> which requires C++11. I'm surprised you don't also see failures
> in the 8 tests in test/CodeGenCXX which include <typeinfo>.

I think the issue is that the non-VS cmd.exe is finding Visual Studio
11's include directories, and the VS command line is finding VS 10's
include directories.  VS 10's typeinfo does not make use of c++11
features, but VS 11's appears to.  VS 11 assumes you're using C++11
unless you define _HAS_CPP0X to zero instead of one.

The header causing the issues is actually xtr1common being included
from xstddef (which is included from typeinfo).

~Aaron
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to