Bug in VC++.net 2002: nested structs
-
Hi! I have a class that contains several nested structs:
public __abstract __gc class Foo { public: __value struct Struct1 { /** }; __value struct Struct2 { /** }; __value struct Struct3 { /** }; __value struct Struct4 { /** }; [...] };
However, that maximum number of nested structs seems to be 17. Whenever I add the 18ths struct, I get an internal compiler error. Is this a confirmed bug? Regards, Andre -
Hi! I have a class that contains several nested structs:
public __abstract __gc class Foo { public: __value struct Struct1 { /** }; __value struct Struct2 { /** }; __value struct Struct3 { /** }; __value struct Struct4 { /** }; [...] };
However, that maximum number of nested structs seems to be 17. Whenever I add the 18ths struct, I get an internal compiler error. Is this a confirmed bug? Regards, AndreJust test 21 nested structs on VS.NET 2003 Final Beta. It compiles without any problem. Frankly, working with MC++ is sometimes frustrating. The compiler seems to be a work in progress. Consider the ff, for instance:
System::String __gc* strTmp1 = String::Format(S"{0}, {1}, {2}",
S"0", S"1", S"2");System::String __gc* strTmp2 = String::Format(S"{0}, {1}, {2}, {3}",
S"0", S"1", S"2", S"3");The second strTmp2 will not compile simply because the MC++ does not have support for variable parameters, while C# and even VB.NET supports it. Best regards, Paul. Jesus Christ is LOVE! Please tell somebody.