代码搜索结果

找到约 4,295 项符合 G 的代码

900205_04.c

// g++ 1.36.1 bug 900205_04 // g++ allows a class for which an implicit default X::X() constructor must // be created (implicitly by the compiler) to be derived from another class // which does not h

900107_01.c

// g++ 1.36.1 bug 900107_01 // Unlike GCC and Cfront 2.0, the g++ 1.36.1 compiler gives struct, union, // and class declarations which are nested within blocks file scope. // Cfront 2.0 passes this

900511_03.c

// g++ 1.37.1 bug 900511_03 // g++ does not properly shadow names of types with names of data members // in cases where the type names in question are used in the context of // formal parameters list

900121_02.c

// g++ 1.36.1 bug 900121_02 // Assignment of structs is defined as memberwise assignment, // however g++ (1.36.2) and Cfront 2.0 differ on the definition // of assignment for unions. // (NOTE: Strou

900208_04.c

// g++ 1.36.1 bug 900208_04 // The Cfront 2.0 reference manual (5.3.3) says "This type must be an // object type; functions cannot be allocated this way...". // g++ fails to detect (at compile time)

900211_02.c

// g++ 1.36.1 bug 900211_02 // g++ allows you to explicitly specify the return type for a type conversion // operator. // The Cfront 2.0 Reference Manual (12.3.2) says that this in not allowed. //

900212_03.c

// g++ 1.36.1 bug 900212_03 // g++ segfaults on any attempt to use the ->* operator. // Cfront 2.0 passes this test. // keywords: member pointers, operator->* struct struct0 { int data_member;

900220_02.c

// g++ 1.36.1 bug 900220_02 // g++ treats plain `char' and `unsigned char' as different types, however // it fails to treat `signed char' as being a different type from plain // `char' as called for

900520_05.c

// g++ 1.37.1 bug 900520_05 // The following legal code gets syntax errors from g++. // keywords: syntax, unimplemented, operator new, initialization, pointer types struct struct_0 { }; char *cp;

900428_01.c

// g++ 1.37.1 bug 900428_01 // g++ fails to issue error messages for cases where an incomplete type // object must be evaluated if the value of such an evaluation is not // actually used in the given