Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:warning

10 // warning in C++98 mode.
13 #line 32768 // expected-warning {{#line number greater than 32767 is incompatible with C++98}}
15 #define VA_MACRO(x, ...) x // expected-warning {{variadic macros are incompatible with C++98}}
16 VA_MACRO(,x) // expected-warning {{empty macro arguments are incompatible with C++98}}
18 ; // expected-warning {{extra ';' outside of a function is incompatible with C++98}}
21 Enum_value, // expected-warning {{commas at the end of enumerator lists are incompatible with C++98}}
26 template struct InstantiationAfterSpecialization<int>; // expected-warning {{explicit instantiation of 'InstantiationAfterSpecialization<int>' that occurs after an explicit specialization is incompatible with C++98}}
29 void (*FnPtr)() = (void(*)())dlsym(); // expected-warning {{cast between pointer-to-function and pointer-to-object is incompatible with C++98}}
30 void *FnVoidPtr = (void*)&dlsym; // expected-warning {{cast between pointer-to-function and pointer-to-object is incompatible with C++98}}
37 // expected-warning@-2 {{implicit conversion from array size expression of type 'ConvertToInt' to integral type 'size_t' is incompatible with C++98}}
39 // expected-warning@-4 {{implicit conversion from array size expression of type 'ConvertToInt' to integral type 'int' is incompatible with C++98}}
43 extern template class ExternTemplate<int>; // expected-warning {{extern templates are incompatible with C++98}}
45 long long ll1 = // expected-warning {{'long long' is incompatible with C++98}}
46 -42LL; // expected-warning {{'long long' is incompatible with C++98}}
47 unsigned long long ull1 = // expected-warning {{'long long' is incompatible with C++98}}
48 42ULL; // expected-warning {{'long long' is incompatible with C++98}}
52 // expected-warning@-2 {{binary integer literals are incompatible with C++ standards before C++14}}
74 const Private &a = Private(); // expected-warning {{copying variable of type 'CopyCtorIssues::Private' when binding a reference to a temporary would invoke an inaccessible constructor in C++98}}
75 const NoViable &b = NoViable(); // expected-warning {{copying variable of type 'CopyCtorIssues::NoViable' when binding a reference to a temporary would find no viable constructor in C++98}}
77 const Ambiguous &c = Ambiguous(); // expected-warning {{copying variable of type 'CopyCtorIssues::Ambiguous' when binding a reference to a temporary would find ambiguous constructors in C++98}}
79 const Deleted &d = Deleted(); // expected-warning {{copying variable of type 'CopyCtorIssues::Deleted' when binding a reference to a temporary would invoke a deleted constructor in C++98}}